/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:    #074329;
  --green:         #398034;
  --green-mid:     #4a9e2c;
  --green-light:   #A8D63F;
  --green-pale:    #F6FFD1;
  --green-mist:    #FAFFE5;
  --gold:          #c9a84c;
  --text:          #074329;
  --text-mid:      #1a5c22;
  --text-light:    #4a7a2e;
  --bg:            #ffffff;
  --bg-alt:        #FAFFE5;
  --border:        #cce8a0;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(7,67,41,.10);
  --shadow-lg:     0 12px 48px rgba(7,67,41,.16);
  --shadow-xl:     0 24px 64px rgba(7,67,41,.20);
  --transition:    .3s cubic-bezier(.4,0,.2,1);
  --font-head:     'Playfair Display', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --glow-green:    0 0 0 3px rgba(57,128,52,.20);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  max-width: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,.08); }

.btn--primary { background: var(--green); color: #fff; box-shadow: 0 4px 16px rgba(74,124,89,.35); }
.btn--primary:hover { background: var(--green-dark); box-shadow: 0 8px 28px rgba(74,124,89,.45); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.5); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.22); border-color: #fff; transform: translateY(-1px); }
.btn--white { background: #fff; color: var(--green-dark); box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.btn--white:hover { background: var(--green-pale); transform: translateY(-1px); }
.btn--lg { padding: .9rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ===== SECTION HELPERS ===== */
.section { padding: 6rem 0; overflow-x: clip; }
.section__head { text-align: center; margin-bottom: 3.5rem; }
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section__sub { color: var(--text-light); max-width: 520px; margin: 0 auto; }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: var(--transition); }
.nav--scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(7,67,41,.08);
}
.nav--scrolled .nav__links a { color: var(--text); }
.nav--scrolled .nav__links a:hover { color: var(--green); }
.nav__inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; height: 72px; display: flex; align-items: center; gap: 2rem; }
.nav__logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.nav__logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 3px 7px;
  box-shadow: 0 1px 6px rgba(0,0,0,.18);
  transition: var(--transition);
}
.footer__logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px 10px;
  margin-top: 1.5rem;
  margin-bottom: .75rem;
  display: block;
}
.nav--scrolled .nav__logo span { color: var(--text); }
.nav__links { display: flex; gap: 1.6rem; margin-left: 2rem; flex: 1; }
.nav__links a {
  font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: var(--transition); position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--green-light);
  border-radius: 2px; transition: var(--transition);
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { margin-left: auto; }
.nav--scrolled .nav__cta { border-color: var(--green); color: var(--green); }
.nav--scrolled .nav__cta:hover { background: var(--green); color: #fff; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.nav--scrolled .nav__hamburger span { background: var(--text); }
.nav__mobile {
  display: none; flex-direction: column; gap: 0;
  background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
  padding: 1rem 2rem 1.5rem; border-top: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(7,67,41,.12);
}
.nav__mobile a { padding: .75rem 0; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); transition: var(--transition); }
.nav__mobile a:hover { color: var(--green); padding-left: .5rem; }
.nav__mobile a:last-child { border: none; margin-top: .75rem; text-align: center; }
.nav__mobile.open { display: flex; }
.nav__mobile-admin {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: .5rem; padding: .75rem 1rem; border-radius: var(--radius);
  background: rgba(7,67,41,.08); color: var(--green-dark);
  border: 1.5px solid var(--border); font-size: .9rem; font-weight: 600;
  font-family: var(--font-body); cursor: pointer; width: 100%;
  transition: var(--transition);
}
.nav__mobile-admin:hover { background: var(--green); color: #fff; border-color: var(--green); }
@media (max-width: 960px) { .nav__links, .nav__cta { display: none; } .nav__hamburger { display: flex; } }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1800&q=85') center/cover no-repeat;
  transform: scale(1.06); transition: transform 10s ease-out;
}
.hero__bg.loaded { transform: scale(1); }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(7,67,41,.82) 0%, rgba(57,128,52,.55) 55%, rgba(7,67,41,.48) 100%);
}

.hero__deco {
  position: absolute; z-index: 1; pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.hero__deco--1 { top: 10%; right: 8%; width: 220px; opacity: .5; }
.hero__deco--2 { bottom: 18%; left: 5%; width: 140px; opacity: .4; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

.hero__content {
  position: relative; z-index: 2;
  max-width: 700px; margin: 0 auto;
  padding: 2rem 2rem 5rem; text-align: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-light); border: 1px solid rgba(122,184,147,.35);
  padding: .3rem 1rem; border-radius: 50px; margin-bottom: 1.5rem;
  backdrop-filter: blur(4px); background: rgba(122,184,147,.08);
}
.hero__title {
  font-family: var(--font-head); font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.hero__title em { font-style: italic; color: var(--green-light); }
.hero__sub { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 480px; margin: 0 auto 1.25rem; line-height: 1.75; }
.hero__badges { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .85rem; border-radius: 50px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 7.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.55); font-size: .73rem; letter-spacing: .1em;
  animation: bounce 2.5s ease-in-out infinite; z-index: 2;
}
.hero__stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center;
  background: rgba(7,67,41,.88); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(122,184,147,.15);
  width: 100%;
}
.hero__stat {
  padding: 1.35rem 3rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08); flex: 1; max-width: 240px;
}
.hero__stat:last-child { border-right: none; }
.hero__stat strong {
  display: inline; font-family: var(--font-head); font-size: 2.1rem;
  color: var(--green-light); line-height: 1;
}
.hero__stat sup { font-size: 1rem; color: var(--green-light); vertical-align: super; }
.hero__stat span { display: block; font-size: .78rem; color: rgba(255,255,255,.65); letter-spacing: .04em; margin-top: .2rem; }

@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ===== SERVICES ===== */
.services { background: var(--bg); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--gold), var(--green));
  transform: scaleX(0); transition: var(--transition); transform-origin: left;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { width: 52px; height: 52px; margin-bottom: 1.25rem; }
.service-card__icon svg { width: 100%; height: 100%; }
.service-card h3 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: .6rem; color: var(--text); }
.service-card p { font-size: .9rem; color: var(--text-light); margin-bottom: 1rem; line-height: 1.65; }
.service-card__link { font-size: .85rem; font-weight: 600; color: var(--green); transition: var(--transition); }
.service-card__link:hover { color: var(--green-dark); gap: .25rem; }

/* ===== ABOUT ===== */
.about { background: var(--bg-alt); overflow: hidden; }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about__gallery { position: relative; }
.about__img { border-radius: var(--radius-lg); overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.about__img:hover img { transform: scale(1.04); }
.about__img--main { height: 460px; box-shadow: var(--shadow-xl); }
.about__img--secondary {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 220px; height: 200px;
  border: 6px solid var(--bg-alt); box-shadow: var(--shadow);
}
.about__badge {
  position: absolute; top: 2rem; left: -2rem;
  background: linear-gradient(135deg, #a07430, var(--gold));
  color: #fff; border-radius: var(--radius); padding: 1rem 1.25rem;
  text-align: center; box-shadow: var(--shadow-lg);
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.about__badge span { font-size: .75rem; opacity: .85; }
.about__content p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.75; }
.about__content .section__title { margin-bottom: 1.25rem; }
.about__list { margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: .75rem; }
.about__list li { display: flex; align-items: center; gap: .75rem; font-size: .92rem; color: var(--text-mid); font-weight: 500; }
.about__list li svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== PROFILE ===== */
.profile {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.profile__bg-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(74,124,89,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 0% 100%, rgba(122,184,147,.06) 0%, transparent 60%);
  pointer-events: none;
}
.profile__inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Profile card */
.profile__card {
  background: linear-gradient(160deg, var(--green-dark) 0%, #0d5c32 100%);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.profile__card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(122,184,147,.08);
  pointer-events: none;
}
.profile__card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: rgba(122,184,147,.06);
  pointer-events: none;
}

.profile__photo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.profile__photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(var(--green-light) 0%, rgba(122,184,147,.2) 60%, var(--green-light) 100%);
  animation: spin-ring 8s linear infinite;
  z-index: 0;
}
@keyframes spin-ring { to { transform: rotate(360deg); } }

.profile__photo {
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border: 4px solid var(--green-dark);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.profile__photo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 10px; }

.profile__badge-online {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(52,168,83,.2);
  border: 1px solid rgba(52,168,83,.4);
  color: #6ee37e;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 50px;
  margin-top: .75rem;
  letter-spacing: .04em;
}
.profile__online-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34A853;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(1.4); } }

.profile__identity { position: relative; z-index: 1; }
.profile__identity .section__eyebrow { color: var(--green-light); }
.profile__name {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}
.profile__tagline {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Profile quick contact */
.profile__quick-contact {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.pqc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .65rem 1rem;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 600;
  transition: var(--transition);
}
.pqc-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.pqc-btn--whatsapp { background: #25D366; color: #fff; }
.pqc-btn--whatsapp:hover { background: #1ebe59; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,.4); }
.pqc-btn--sms { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.pqc-btn--sms:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); }
.pqc-btn--email { background: rgba(66,133,244,.2); color: #8bb4f8; border: 1px solid rgba(66,133,244,.3); }
.pqc-btn--email:hover { background: rgba(66,133,244,.3); transform: translateY(-1px); }

/* Profile details */
.profile__details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: .5rem;
}
.profile__bio h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: .75rem;
}
.profile__bio p { color: var(--text-light); line-height: 1.75; margin-bottom: .75rem; }

.profile__stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.profile__stat-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  transition: var(--transition);
}
.profile__stat-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.profile__stat-icon { font-size: 1.3rem; flex-shrink: 0; line-height: 1.4; }
.profile__stat-item strong { display: block; font-size: .82rem; font-weight: 700; color: var(--text); }
.profile__stat-item span { font-size: .8rem; color: var(--text-light); }

.profile__skills h4 { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: .75rem; }
.profile__tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.profile__tags span {
  background: var(--bg);
  color: var(--green-dark);
  border: 1px solid var(--border);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 50px;
  transition: var(--transition);
}
.profile__tags span:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ===== PORTFOLIO ===== */
.portfolio { background: var(--bg-alt); }
.portfolio__filters { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .5rem 1.25rem; border-radius: 50px;
  font-size: .85rem; font-weight: 500; color: var(--text-light);
  border: 2px solid var(--border); transition: var(--transition);
  min-height: 44px; display: inline-flex; align-items: center;
}
.filter-btn:hover, .filter-btn.active { background: var(--green); color: #fff; border-color: var(--green); }
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 1rem; }
.portfolio-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item--tall { grid-row: span 2; }
.portfolio-item--wide { grid-column: span 2; }
.portfolio-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,67,41,.9) 0%, rgba(7,67,41,.2) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; opacity: 0; transition: var(--transition);
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__tag {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 4px;
  margin-bottom: .5rem;
  width: fit-content;
}
.portfolio-item__overlay h4 { font-family: var(--font-head); color: #fff; font-size: 1rem; margin-bottom: .2rem; }
.portfolio-item__overlay p { color: rgba(255,255,255,.7); font-size: .82rem; }
.portfolio-item.hidden { display: none; }

/* ===== PROCESS ===== */
.process { background: var(--green-dark); }
.process .section__eyebrow { color: var(--green-light); }
.process .section__title { color: #fff; }
.process__steps { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.process-step {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center;
  flex: 1; min-width: 180px; max-width: 220px; transition: var(--transition);
}
.process-step:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.process-step__num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--green-light); line-height: 1; margin-bottom: .75rem; }
.process-step h4 { color: #fff; font-size: 1rem; margin-bottom: .6rem; }
.process-step p { color: rgba(255,255,255,.6); font-size: .85rem; line-height: 1.6; }
.process-step__arrow { color: var(--green-light); font-size: 1.5rem; opacity: .5; }

/* ===== GOOGLE REVIEWS ===== */
.reviews { background: var(--bg); }

.reviews__score-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}
.reviews__score-left { text-align: center; }
.reviews__google-logo { margin-bottom: .5rem; display: flex; justify-content: center; }
.reviews__score-number {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: .25rem;
}
.reviews__score-stars { color: #FBBC05; font-size: 1.2rem; letter-spacing: 2px; margin-bottom: .35rem; }
.reviews__score-total { font-size: .82rem; color: var(--text-light); }
.reviews__score-total strong { color: var(--text); }

.reviews__score-bars { display: flex; flex-direction: column; gap: .55rem; }
.reviews__bar-row { display: flex; align-items: center; gap: .75rem; font-size: .82rem; color: var(--text-light); }
.reviews__bar-row span:first-child { width: 28px; text-align: right; color: #FBBC05; font-weight: 600; }
.reviews__bar-row span:last-child { width: 32px; color: var(--text-light); }
.reviews__bar { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.reviews__bar-fill {
  height: 100%;
  width: var(--pct);
  background: linear-gradient(90deg, #FBBC05, #ffd740);
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

.reviews__score-actions { display: flex; flex-direction: column; gap: .75rem; }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
}
.review-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--border); }
.review-card--featured {
  background: linear-gradient(145deg, var(--green-dark), #0d5c32);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.review-card--featured:hover { box-shadow: var(--shadow-xl); transform: translateY(-5px); }

.review-card__header { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.review-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem; color: #fff; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.review-card__meta { flex: 1; }
.review-card__meta strong { display: block; font-size: .9rem; color: var(--text); }
.review-card--featured .review-card__meta strong { color: #fff; }
.review-card__meta span { font-size: .75rem; color: var(--text-light); }
.review-card--featured .review-card__meta span { color: rgba(255,255,255,.6); }
.review-card__google { margin-left: auto; flex-shrink: 0; opacity: .9; }
.review-card__stars { color: #FBBC05; font-size: .9rem; letter-spacing: 1px; margin-bottom: .75rem; }
.review-card p { font-size: .88rem; line-height: 1.7; color: var(--text-light); font-style: italic; }
.review-card--featured p { color: rgba(255,255,255,.8); }

.reviews__footer { text-align: center; }

/* ===== CTA BANNER ===== */
.cta-banner { position: relative; padding: 7rem 0; text-align: center; overflow: hidden; }
.cta-banner__bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1741288341280-9eeb62919f64?w=1800&q=80') center/cover no-repeat;
}
.cta-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,67,41,.90), rgba(7,67,41,.96));
}
.cta-banner__content { position: relative; z-index: 1; }
.cta-banner__content h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.8rem); color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.cta-banner__content p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-banner__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { background: var(--bg-alt); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }

.contact__quick { display: flex; flex-direction: column; gap: .6rem; margin: 1.5rem 0; }
.contact__quick-btn {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1.1rem; border-radius: var(--radius);
  border: 1.5px solid; transition: var(--transition);
}
.contact__quick-btn:hover { transform: translateX(4px); }
.contact__quick-btn svg { flex-shrink: 0; }
.contact__quick-btn strong { display: block; font-size: .9rem; font-weight: 700; }
.contact__quick-btn span { font-size: .8rem; opacity: .75; }

.contact__quick-btn--wa { border-color: rgba(37,211,102,.3); color: #1a6e38; background: rgba(37,211,102,.06); }
.contact__quick-btn--wa:hover { background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.5); }
.contact__quick-btn--sms { border-color: var(--border); color: var(--text); background: var(--bg); }
.contact__quick-btn--sms:hover { background: var(--green-pale); border-color: var(--green-light); color: var(--green-dark); }
.contact__quick-btn--email { border-color: var(--border); color: var(--text); background: var(--bg); }
.contact__quick-btn--email:hover { border-color: var(--green-light); background: var(--green-pale); color: var(--green-dark); }

.contact__details { margin: 1.25rem 0; display: flex; flex-direction: column; gap: 1rem; }
.contact__details li { display: flex; align-items: flex-start; gap: 1rem; }
.contact__icon { width: 38px; height: 38px; flex-shrink: 0; }
.contact__icon svg { width: 100%; height: 100%; }
.contact__details strong { display: block; font-size: .82rem; color: var(--text); margin-bottom: .1rem; font-weight: 700; }
.contact__details span { font-size: .88rem; color: var(--text-light); }
.contact__social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border); display: flex; align-items: center;
  justify-content: center; color: var(--text-light); transition: var(--transition);
}
.social-btn svg { width: 17px; height: 17px; }
.social-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(201,168,76,.2); }

.contact__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.contact__image img {
  width: 100%; flex: 1; min-height: 480px; object-fit: cover; display: block;
}
.contact__image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,67,41,.72) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 2rem;
  pointer-events: none;
}
.contact__image-tagline {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  max-width: 340px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
@keyframes slideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ===== FOOTER ===== */
.footer { background: var(--text); color: rgba(255,255,255,.65); }
.footer__inner { padding: 4rem 2rem 3rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 3rem; }
.footer__brand .footer__logo { color: #fff; margin-bottom: 1rem; }
.footer__brand p { font-size: .88rem; line-height: 1.7; max-width: 240px; margin-bottom: 1rem; }
.footer__rating { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.55); }
.footer__rating svg { flex-shrink: 0; }

.footer__nav, .footer__contact { padding-top: 1.5rem; }
.footer__nav h5, .footer__contact h5 {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; margin-bottom: 1.25rem;
}
.footer__nav ul { display: flex; flex-direction: column; gap: .55rem; }
.footer__nav a { font-size: .88rem; transition: var(--transition); }
.footer__nav a:hover { color: var(--green-light); padding-left: .3rem; }

.footer__contact-link {
  display: flex; align-items: center; gap: .6rem;
  font-size: .85rem; margin-bottom: .6rem; transition: var(--transition);
  color: rgba(255,255,255,.6);
}
.footer__contact-link:hover { color: #fff; padding-left: .3rem; }
.footer__contact-link--wa:hover { color: #25D366; }
.footer__contact-link--sms:hover { color: #8bb4f8; }
.footer__contact-link--email:hover { color: var(--green-light); }

.footer__contact .contact__social .social-btn { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.5); }
.footer__contact .contact__social .social-btn:hover { border-color: var(--green-light); color: var(--green-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 1.25rem 2rem; }
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer__bottom p { font-size: .82rem; }

/* ===== SPEED DIAL FLOAT ===== */
.speed-dial {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .6rem;
}
.speed-dial__trigger {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 6px 24px rgba(74,124,89,.45);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  position: relative; z-index: 2;
  animation: pulse-dial 3s ease-in-out infinite;
}
.speed-dial__trigger:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(74,124,89,.6); }
.speed-dial__trigger.active { animation: none; transform: rotate(0deg); background: linear-gradient(135deg, #c0392b, #962d22); }
.speed-dial__icon-open, .speed-dial__icon-close { position: absolute; transition: var(--transition); width: 24px; height: 24px; }
.speed-dial__icon-close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.speed-dial.open .speed-dial__icon-open { opacity: 0; transform: rotate(90deg) scale(.5); }
.speed-dial.open .speed-dial__icon-close { opacity: 1; transform: rotate(0deg) scale(1); }

@keyframes pulse-dial {
  0%,100% { box-shadow: 0 6px 24px rgba(74,124,89,.45); }
  50% { box-shadow: 0 6px 36px rgba(74,124,89,.65), 0 0 0 8px rgba(74,124,89,.1); }
}

.speed-dial__items {
  display: flex; flex-direction: column; align-items: flex-end; gap: .5rem;
  pointer-events: none;
}
.speed-dial.open .speed-dial__items { pointer-events: all; }

.speed-dial__item {
  display: flex; align-items: center; gap: .6rem;
  opacity: 0; transform: translateY(12px) scale(.9);
  transition: opacity .25s ease, transform .25s ease;
}
.speed-dial.open .speed-dial__item:nth-child(1) { opacity: 1; transform: none; transition-delay: .08s; }
.speed-dial.open .speed-dial__item:nth-child(2) { opacity: 1; transform: none; transition-delay: .04s; }
.speed-dial.open .speed-dial__item:nth-child(3) { opacity: 1; transform: none; transition-delay: 0s; }

.speed-dial__label {
  background: rgba(7,67,41,.88); backdrop-filter: blur(8px);
  color: #fff; font-size: .78rem; font-weight: 600;
  padding: .3rem .8rem; border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.speed-dial__btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(0,0,0,.2);
}
.speed-dial__btn svg { width: 20px; height: 20px; }
.speed-dial__item--wa .speed-dial__btn { background: #25D366; color: #fff; }
.speed-dial__item--wa:hover .speed-dial__btn { background: #1ebe59; transform: scale(1.1); }
.speed-dial__item--sms .speed-dial__btn { background: #4285F4; color: #fff; }
.speed-dial__item--sms:hover .speed-dial__btn { background: #2a75f3; transform: scale(1.1); }
.speed-dial__item--email .speed-dial__btn { background: var(--green); color: #fff; }
.speed-dial__item--email:hover .speed-dial__btn { background: var(--green-dark); transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { gap: 3rem; }
  .profile__inner { grid-template-columns: 320px 1fr; gap: 3rem; }
  .reviews__score-card { grid-template-columns: auto 1fr; grid-template-rows: auto auto; }
  .reviews__score-actions { grid-column: 1 / -1; flex-direction: row; justify-content: center; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .contact__inner { gap: 3rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero__stats { position: static; width: 100%; }
  .hero__stat { padding: 1rem 1rem; max-width: none; flex: 1; }
  .hero__stat strong { font-size: 1.6rem; }
  .hero { min-height: auto; padding: 6rem 0 0; }
  .hero__content { padding: 1.75rem 1.5rem 2rem; }
  .hero__scroll { display: none; }
  .hero__deco { display: none; }
  .about__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__img--secondary { width: 140px; height: 120px; right: .5rem; bottom: .5rem; }
  .about__badge { left: .5rem; }
  .profile__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .profile__stats-grid { grid-template-columns: 1fr 1fr; }
  .portfolio__filters { flex-wrap: wrap; justify-content: center; gap: .5rem; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .portfolio-item--wide { grid-column: span 1; }
  .portfolio-item--tall { grid-row: span 1; }
  .reviews__score-card { grid-template-columns: 1fr; text-align: center; }
  .reviews__bar-row { max-width: 280px; margin: 0 auto; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact { padding-bottom: 2rem; }
  .contact__image { min-height: 360px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero__stat { padding: 1rem 1.5rem; }
  .process__steps { flex-direction: column; align-items: stretch; }
  .process-step { max-width: 100%; }
  .process-step__arrow { text-align: center; transform: rotate(90deg); }
  .admin-overlay { padding: 1rem .75rem; }
  .admin-modal__head { padding: 1rem 1.25rem; }
  .admin-modal__body { padding: 1.25rem; }
  .adm-row-2 { grid-template-columns: 1fr; }
  .ap-header { padding: .9rem 1.1rem; }
  .ap-tabs { padding: 0 1rem; }
  .ap-content { padding: 1.1rem; }
  .ap-form-row { grid-template-columns: 1fr; }
  .ap-photos-row { flex-direction: column; }
  .ap-photos-arrow { transform: rotate(90deg); }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .service-card { padding: 1rem; }
  .service-card__icon { width: 36px; height: 36px; margin-bottom: .75rem; }
  .service-card h3 { font-size: .92rem; }
  .service-card p { font-size: .78rem; margin-bottom: .6rem; }
  .service-card__link { font-size: .78rem; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .portfolio__filters { gap: .35rem; }
  .filter-btn { padding: .5rem .9rem; font-size: .8rem; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero { padding: 4.5rem 0 0; }
  .hero__content { padding: 1.25rem 1.25rem 1.5rem; }
  .hero__eyebrow { font-size: .7rem; }
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr; flex-direction: unset; }
  .hero__stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding: 1rem .75rem; max-width: none; }
  .hero__stat strong { font-size: 1.5rem; }
  .hero__stat span { font-size: .72rem; }
  .hero__stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .hero__stat:nth-last-child(-n+2) { border-bottom: none; }
  .container { padding: 0 1.25rem; }
  .review-card { padding: 1.1rem; }
  .reviews__score-card { padding: 1.25rem; }
  .reviews__score-actions { flex-direction: column; }
  .cta-banner__btns { flex-direction: column; align-items: center; }
  .profile__card { padding: 1.75rem 1.25rem; }
  .profile__stats-grid { grid-template-columns: 1fr 1fr; }
  .profile__photo { width: 110px; height: 110px; }
  .contact__image { min-height: 280px; }
  .form-group label { font-size: .78rem; }
  .ap-modal { border-radius: 16px 16px 0 0; max-height: 95vh; }
  .ap-content { padding: .9rem; }
}

@media (max-width: 360px) {
  .container { padding: 0 1rem; }
  .hero__content { padding: 1rem 1rem 1.5rem; }
  .contact__image { min-height: 240px; }
  .service-card { padding: 1.25rem; }
  .review-card { padding: 1rem; }
  .profile__card { padding: 1.5rem 1rem; }
  .section { padding: 2.5rem 0; }
  .ap-content { padding: .75rem; }
  .ap-header { padding: .75rem .9rem; }
}

/* ===== ENTRANCE ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delay helpers */
.delay-1 { transition-delay: .08s !important; }
.delay-2 { transition-delay: .16s !important; }
.delay-3 { transition-delay: .24s !important; }
.delay-4 { transition-delay: .32s !important; }
.delay-5 { transition-delay: .40s !important; }
.delay-6 { transition-delay: .48s !important; }

/* ==============================================
   ADMIN SYSTEM
   ============================================== */

/* --- Admin Bar --- */
.admin-bar {
  position: fixed;
  top: -52px;
  left: 0; right: 0;
  z-index: 2000;
  height: 48px;
  background: linear-gradient(90deg, #031f13 0%, #074329 60%, #042e1c 100%);
  box-shadow: 0 3px 16px rgba(0,0,0,.4);
  transition: top .35s cubic-bezier(.4,0,.2,1);
}
.admin-bar.active { top: 72px; }
.admin-bar__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.admin-bar__label {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #7ab893;
}
.admin-bar__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4caf50; animation: pulse-dot 2s ease-in-out infinite;
}
.admin-bar__btns { display: flex; gap: .4rem; }

.adm-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .85rem; border-radius: 7px;
  font-size: .78rem; font-weight: 600;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.16); cursor: pointer;
  transition: var(--transition); white-space: nowrap;
  font-family: var(--font-body);
}
.adm-btn:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.28); }
.adm-btn--danger { background: rgba(192,57,43,.25); border-color: rgba(192,57,43,.45); }
.adm-btn--danger:hover { background: rgba(192,57,43,.42); }

body.admin-mode { padding-top: 48px; }
body.admin-mode .nav { top: 48px; }

/* --- Admin Overlay --- */
.admin-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(8,18,11,.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  align-items: flex-start; justify-content: center;
  padding: 2rem 1rem; overflow-y: auto;
}
.admin-overlay.open { display: flex; }

/* --- Admin Modal --- */
.admin-modal {
  background: var(--bg); border-radius: var(--radius-lg);
  width: 100%; max-width: 440px;
  box-shadow: 0 32px 80px rgba(0,0,0,.32);
  animation: admIn .28s cubic-bezier(.4,0,.2,1) both;
  margin: auto;
}
.admin-modal--lg { max-width: 660px; }
@keyframes admIn {
  from { opacity: 0; transform: scale(.96) translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

.admin-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.35rem 1.75rem; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg); z-index: 1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.admin-modal__head-logo { display: flex; align-items: center; gap: .6rem; }
.admin-modal__head h3 { font-family: var(--font-head); font-size: 1.1rem; color: var(--text); }
.admin-modal__close {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--text-light); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-family: inherit;
}
.admin-modal__close:hover { background: #fce8e6; border-color: #f5c6c0; color: #c0392b; }

.admin-modal__body {
  padding: 1.75rem; display: flex; flex-direction: column; gap: 1.2rem;
}

/* --- Common admin form elements --- */
.adm-intro { font-size: .88rem; color: var(--text-light); }

.adm-field { display: flex; flex-direction: column; gap: .38rem; }
.adm-field label {
  font-size: .76rem; font-weight: 700; color: var(--text-mid);
  text-transform: uppercase; letter-spacing: .05em;
}
.adm-field input,
.adm-field select,
.adm-field textarea {
  padding: .7rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-body);
  font-size: .9rem; color: var(--text); background: var(--bg-alt);
  transition: var(--transition); outline: none;
}
.adm-field input:focus,
.adm-field select:focus,
.adm-field textarea:focus { border-color: var(--green); box-shadow: var(--glow-green); background: var(--bg); }
.adm-field textarea { resize: vertical; min-height: 96px; }
.adm-field--sm { max-width: 180px; }

.adm-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.adm-actions { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-top: .25rem; }

.adm-success {
  display: none; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 600; color: var(--green-dark);
  background: var(--green-pale); padding: .5rem .9rem;
  border-radius: 8px; border: 1px solid rgba(74,124,89,.2);
}
.adm-success.show { display: flex; animation: slideUp .3s ease; }

.adm-error {
  display: none; font-size: .82rem; font-weight: 600; color: #c0392b;
  background: #fce8e6; padding: .5rem .9rem;
  border-radius: 8px; border: 1px solid #f5c6c0;
}
.adm-error.show { display: block; }

/* --- Profile Photo Edit --- */
.adm-photo-row { display: flex; align-items: center; gap: 1.25rem; }
.adm-photo-wrap {
  width: 100px; height: 100px; border-radius: 50%;
  overflow: hidden; position: relative; flex-shrink: 0;
  cursor: pointer; border: 3px solid var(--border); box-shadow: var(--shadow);
  transition: var(--transition);
}
.adm-photo-wrap:hover { border-color: var(--green); }
.adm-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm-photo-wrap input[type="file"] { display: none; }
.adm-photo-overlay {
  position: absolute; inset: 0; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: .3rem; background: rgba(10,22,14,.58); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  opacity: 0; transition: var(--transition);
}
.adm-photo-wrap:hover .adm-photo-overlay { opacity: 1; }
.adm-photo-hint strong { display: block; font-size: .9rem; margin-bottom: .2rem; }
.adm-photo-hint p { font-size: .82rem; color: var(--text-light); line-height: 1.5; }
.adm-hint-small { font-size: .76rem !important; color: var(--text-light) !important; margin-top: .2rem; }

/* --- Before/After Upload Drops --- */
.adm-ba-row { display: flex; align-items: center; gap: .75rem; }
.adm-ba-col { flex: 1; }
.adm-ba-arrow { flex-shrink: 0; color: var(--green-light); display: flex; align-items: center; }
.adm-ba-label {
  font-size: .76rem; font-weight: 700; color: var(--text-mid);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .45rem;
}
.adm-ba-drop {
  aspect-ratio: 4/3; border: 2px dashed var(--border);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  position: relative; background: var(--bg-alt); transition: var(--transition);
}
.adm-ba-drop:hover,
.adm-ba-drop:focus { border-color: var(--green); outline: none; }
.adm-ba-drop img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; background: var(--bg); display: none;
}
.adm-ba-drop img.has-img { display: block; }
.adm-ba-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem; color: var(--text-light); font-size: .78rem;
  pointer-events: none; text-align: center; padding: .5rem;
}
.adm-ba-drop.has-img .adm-ba-placeholder { display: none; }
#beforeInput, #afterInput, #profilePhotoInput { display: none; }

/* --- Portfolio Admin List --- */
.adm-divider { border: none; border-top: 1px solid var(--border); margin: .25rem 0; }
.adm-section { display: flex; flex-direction: column; gap: .85rem; }
.adm-section__title {
  display: flex; align-items: center; gap: .5rem;
  font-size: .92rem; font-weight: 700; color: var(--text);
}
.adm-port-list { display: flex; flex-direction: column; gap: .55rem; }
.adm-port-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem 1rem; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: var(--transition);
}
.adm-port-item:hover { border-color: var(--green-light); }
.adm-port-thumbs { display: flex; gap: .3rem; flex-shrink: 0; }
.adm-port-thumb { width: 50px; height: 38px; border-radius: 6px; overflow: hidden; border: 1.5px solid var(--border); }
.adm-port-thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-port-info { flex: 1; min-width: 0; }
.adm-port-info strong { display: block; font-size: .85rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-port-info span { font-size: .75rem; color: var(--text-light); }
.adm-port-del {
  padding: .28rem .7rem; border-radius: 6px;
  font-size: .75rem; font-weight: 600;
  background: rgba(192,57,43,.1); color: #c0392b;
  border: 1px solid rgba(192,57,43,.22); cursor: pointer;
  transition: var(--transition); flex-shrink: 0; font-family: inherit;
}
.adm-port-del:hover { background: rgba(192,57,43,.2); }
.adm-port-empty {
  text-align: center; color: var(--text-light); font-size: .88rem;
  padding: 1.75rem; border: 1.5px dashed var(--border); border-radius: var(--radius);
}

/* --- Before/After Portfolio Items (public view) --- */
.portfolio-item.ba-item { cursor: ew-resize; }
.ba-slider { position: absolute; inset: 0; user-select: none; touch-action: pan-y; }
.ba-img { position: absolute; inset: 0; overflow: hidden; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; display: block; }
.ba-img--before { clip-path: inset(0 50% 0 0); }
.ba-img--after  { clip-path: inset(0 0 0 50%); }

.ba-lbl {
  position: absolute; bottom: .55rem;
  font-size: .68rem; font-weight: 800;
  color: #fff; text-transform: uppercase; letter-spacing: .07em;
  padding: .18rem .55rem; border-radius: 4px; pointer-events: none;
}
.ba-lbl--before { left: .6rem; background: rgba(0,0,0,.6); }
.ba-lbl--after  { right: .6rem; background: var(--green); }

.ba-divider {
  position: absolute; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%); width: 3px;
  background: rgba(255,255,255,.92); box-shadow: 0 0 8px rgba(0,0,0,.45);
  pointer-events: none;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.38);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark); pointer-events: none;
}
.ba-knob svg { width: 18px; height: 18px; }

/* Delete button (admin mode only) */
.port-del-btn {
  display: none; position: absolute; top: .5rem; right: .5rem; z-index: 30;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(192,57,43,.9); color: #fff;
  border: none; cursor: pointer;
  align-items: center; justify-content: center;
  font-size: .88rem; font-weight: 700; line-height: 1;
  transition: var(--transition); font-family: inherit;
}
body.admin-mode .port-del-btn { display: flex; }
.port-del-btn:hover { background: #c0392b; transform: scale(1.12); }

/* --- Admin FAB (botão de acesso flutuante) --- */
.admin-fab {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.1rem;
  min-height: 44px;
  border-radius: 50px;
  background: rgba(7,67,41,.90);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(122,184,147,.35);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: .04em;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.admin-fab:hover {
  background: rgba(7,67,41,1);
  color: #fff;
  border-color: rgba(122,184,147,.6);
}
body.admin-mode .admin-fab { display: none; }
@media (max-width: 768px) { .admin-fab { display: none; } }

/* --- Welcome Toast (pós-login) --- */
.admin-welcome {
  position: fixed;
  top: 130px;
  right: 1.5rem;
  z-index: 4500;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.1rem 1rem;
  box-shadow: 0 8px 32px rgba(7,67,41,.18);
  max-width: 295px;
  width: calc(100vw - 3rem);
  display: none;
  gap: .75rem;
  animation: admIn .35s cubic-bezier(.4,0,.2,1) both;
}
.admin-welcome.show { display: flex; align-items: flex-start; }
.admin-welcome__icon { flex-shrink: 0; margin-top: .1rem; }
.admin-welcome__body { flex: 1; }
.admin-welcome__body strong { display: block; font-size: .9rem; color: var(--text); margin-bottom: .3rem; }
.admin-welcome__body p { font-size: .8rem; color: var(--text-light); margin-bottom: .5rem; line-height: 1.5; }
.admin-welcome__highlight {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 700;
  padding: 0 .35rem;
  border-radius: 4px;
}
.admin-welcome__body ul { display: flex; flex-direction: column; gap: .3rem; padding: 0; margin: 0; }
.admin-welcome__body li {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: var(--text-mid);
}
.admin-welcome__close {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-light);
  transition: var(--transition); font-family: inherit;
  margin-top: -.1rem;
}
.admin-welcome__close:hover { background: #fce8e6; border-color: #f5c6c0; color: #c0392b; }

/* --- Portfolio Empty State --- */
.portfolio-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  text-align: center;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.portfolio-empty__icon {
  width: 72px; height: 72px;
  margin-bottom: 1.25rem;
  opacity: .85;
}
.portfolio-empty__icon svg { width: 100%; height: 100%; }
.portfolio-empty__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
}
.portfolio-empty__sub {
  font-size: .9rem;
  color: var(--text-light);
  max-width: 360px;
  line-height: 1.65;
}
.portfolio-empty__admin-hint {
  display: none;
  margin-top: .75rem;
  font-size: .82rem;
  color: var(--green-dark);
  background: var(--green-pale);
  padding: .5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(74,124,89,.2);
}
body.admin-mode .portfolio-empty__admin-hint { display: block; }

/* Responsive admin */
@media (max-width: 620px) {
  .adm-ba-row { flex-direction: column; }
  .adm-ba-arrow { transform: rotate(90deg); }
  .adm-row-2 { grid-template-columns: 1fr; }
  .adm-field--sm { max-width: 100%; }
  .admin-bar__label { font-size: 0; }
  .admin-bar__dot { width: 10px; height: 10px; }
}

/* ===== ADMIN PANEL ===== */
.ap-modal {
  background: var(--bg);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}
.ap-header {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ap-header__brand { display: flex; align-items: center; gap: .75rem; }
.ap-header__icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ap-header__title { color: #fff; font-size: 1rem; font-weight: 700; font-family: var(--font-head); }
.ap-header__sub   { color: rgba(255,255,255,.72); font-size: .78rem; }
.ap-header__actions { display: flex; align-items: center; gap: .5rem; }
.ap-logout-btn {
  display: flex; align-items: center; gap: .35rem;
  padding: .38rem .8rem;
  border-radius: 50px;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  cursor: pointer; font-size: .78rem; font-weight: 600;
  transition: var(--transition);
}
.ap-logout-btn:hover { background: rgba(192,57,43,.85); border-color: transparent; }
.ap-close-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  cursor: pointer; font-size: 1.25rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.ap-close-btn:hover { background: rgba(255,255,255,.3); }
.ap-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  padding: 0 1.4rem;
}
.ap-tab {
  display: flex; align-items: center; gap: .4rem;
  padding: .85rem 1rem;
  border: none; background: none;
  color: var(--text-light); font-size: .88rem; font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.ap-tab:hover { color: var(--green); }
.ap-tab.active { color: var(--green); border-bottom-color: var(--green); }
.ap-content { padding: 1.4rem; }
.ap-hidden { display: none !important; }
.ap-photo-center { display: flex; justify-content: center; margin-bottom: 1.2rem; }
.ap-profile-photo {
  position: relative; width: 90px; height: 90px;
  border-radius: 50%; cursor: pointer; overflow: hidden;
  border: 3px solid var(--border);
}
.ap-profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.ap-photo-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.ap-profile-photo:hover .ap-photo-overlay { opacity: 1; }
.ap-profile-photo input[type="file"] { display: none; }
.ap-form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1rem;
}
.ap-field {
  display: flex; flex-direction: column; gap: .32rem;
  margin-bottom: 1rem;
}
.ap-field:last-child { margin-bottom: 0; }
.ap-field label { font-size: .82rem; font-weight: 600; color: var(--text-mid); }
.ap-field input, .ap-field select, .ap-field textarea {
  padding: .58rem .85rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: .9rem; font-family: var(--font-body);
  color: var(--text); transition: border-color .2s; outline: none; background: var(--bg-alt);
}
.ap-field input:focus, .ap-field select:focus, .ap-field textarea:focus { border-color: var(--green); box-shadow: var(--glow-green); background: var(--bg); }
.ap-field textarea { resize: vertical; }
.ap-action-btn {
  width: 100%; padding: .75rem;
  background: var(--green); color: #fff;
  border: none; border-radius: 10px;
  font-size: .95rem; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: var(--transition); margin-top: .2rem;
}
.ap-action-btn:hover { background: var(--green-dark); }
.ap-action-btn:disabled { opacity: .6; cursor: not-allowed; }
.ap-msg {
  display: none; text-align: center; font-size: .84rem; font-weight: 600;
  margin-top: .6rem; padding: .5rem; border-radius: 6px;
}
.ap-msg.show { display: block; }
.ap-msg--success { color: var(--green-dark); background: var(--green-pale); }
.ap-msg--error   { color: #c0392b; background: #fce8e6; }
.ap-photos-row {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem;
}
.ap-photos-arrow { font-size: 1.2rem; color: var(--text-light); flex-shrink: 0; }
.ap-photo-drop {
  flex: 1; border: 2px dashed var(--border); border-radius: 10px;
  padding: 1.1rem .75rem; text-align: center; cursor: pointer;
  transition: var(--transition); position: relative;
  min-height: 110px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .4rem; overflow: hidden;
  background: var(--bg-alt);
}
.ap-photo-drop:hover { border-color: var(--green); background: var(--green-pale); }
.ap-photo-drop--after { border-color: var(--green-light); }
.ap-photo-drop--after:hover { border-color: var(--green); background: var(--green-pale); }
.ap-photo-drop span { font-size: .8rem; color: var(--text-light); }
.ap-photo-drop input[type="file"] { display: none; }
.ap-photo-drop img { display: none; width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; border-radius: 8px; background: var(--bg); }
.ap-photo-drop.has-img img { display: block; }
.ap-photo-drop.has-img > svg, .ap-photo-drop.has-img > span { display: none; }
.ap-port-list-wrap { margin-top: 1.4rem; }
.ap-port-list-wrap h4 { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .75rem; }
.ap-port-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem .85rem; background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px; margin-bottom: .5rem;
}
.ap-port-thumbs { display: flex; align-items: center; gap: .3rem; flex-shrink: 0; }
.ap-port-thumb { width: 38px; height: 38px; border-radius: 6px; overflow: hidden; background: var(--border); }
.ap-port-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ap-port-arrow { font-size: .8rem; color: var(--text-light); }
.ap-port-info { flex: 1; min-width: 0; }
.ap-port-info strong { display: block; font-size: .88rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-port-info span { font-size: .78rem; color: var(--green); }
.ap-port-del {
  width: 32px; height: 32px; border-radius: 50%;
  background: #fce8e6; border: none; color: #c0392b;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--transition);
}
.ap-port-del:hover { background: #c0392b; color: #fff; }
.ap-port-empty { text-align: center; color: var(--text-light); font-size: .85rem; padding: 1rem; }
