/* =========================================================
   LEXCIVIL MEDINA Y BERMÚDEZ — Design System
   Paleta: Dorado #C4A44A + Verde Forestal #2A4A30
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables (acopladas al logo) ─────────────── */
:root {
  /* Dorado — pluma del logo */
  --mustard:       #C4A44A;
  --mustard-dark:  #8B6E1A;
  --mustard-light: #DFC072;
  --gold:          #C4A44A;

  /* Verde forestal — letras LC del logo */
  --olive:         #2A4A30;
  --olive-dark:    #1A3020;
  --olive-light:   #4A7A54;

  /* Fondos oscuros con tinte verde forestal */
  --dark:          #111A12;
  --dark-2:        #192015;

  --gray:          #6B6B6B;
  --light:         #F5F8F5;
  --white:         #FFFFFF;
  --surface:       #FAFDF9;
  --border:        rgba(196,164,74,0.22);
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.10);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.16);
  --shadow-lg:     0 24px 64px rgba(0,0,0,0.22);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    0.35s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--surface);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ────────────────────────────────── */
h1,h2,h3,h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--gray); font-size: 1rem; }

/* ── Reusable Classes ──────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-alt { background: var(--light); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: .75rem;
}
.section-title {
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-sub {
  max-width: 600px;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--mustard);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--mustard-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,.4);
}
.btn-outline {
  background: transparent;
  color: var(--mustard);
  border: 2px solid var(--mustard);
}
.btn-outline:hover {
  background: var(--mustard);
  color: var(--dark);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--dark);
  color: var(--mustard);
}
.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
}

/* ── Divider ───────────────────────────────────── */
.gold-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--mustard), var(--mustard-light));
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ── NAV ───────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(20,20,20,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.15);
  transition: var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: .75rem;
}
.nav-logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--mustard), var(--mustard-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 1.1rem;
  color: var(--dark);
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1rem;
  color: var(--mustard);
}
.nav-logo-sub {
  font-size: .65rem; letter-spacing: .06em; color: #999; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: #ccc; font-size: .9rem; font-weight: 500;
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--mustard);
  transition: width .3s;
}
.nav-links a:hover { color: var(--mustard); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--mustard); color: var(--dark) !important;
  padding: .5rem 1.25rem; border-radius: 50px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--mustard-dark); color: var(--white) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--mustard);
  border-radius: 2px; transition: var(--transition);
}

/* ── HERO ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(95,122,90,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 30%, rgba(201,168,76,.12) 0%, transparent 55%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding: 5rem 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--mustard-light);
  padding: .4rem 1rem; border-radius: 50px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white); margin-bottom: 1rem;
}
.hero h1 span { color: var(--mustard); }
.hero-desc {
  color: #aaa; font-size: 1.1rem; margin-bottom: 2rem; max-width: 500px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex; gap: 2.5rem;
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 900; color: var(--mustard);
}
.hero-stat-label { font-size: .8rem; color: #888; }

.hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}
.hero-card-title {
  font-family: 'Playfair Display', serif;
  color: var(--mustard); font-size: 1.1rem; margin-bottom: 1.5rem;
}
.hero-areas {
  display: flex; flex-direction: column; gap: 1rem;
}
.hero-area {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1rem;
  transition: var(--transition);
}
.hero-area:hover {
  border-color: rgba(201,168,76,.4);
  background: rgba(201,168,76,.06);
}
.hero-area-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, rgba(201,168,76,.2), rgba(201,168,76,.05));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.hero-area-name { color: #ddd; font-size: .9rem; font-weight: 500; }
.hero-area-sub  { color: #777; font-size: .78rem; }

/* ── SERVICES ──────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.service-card {
  background: var(--white);
  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; top: 0; left: 0;
  width: 4px; height: 0;
  background: linear-gradient(180deg, var(--mustard), var(--olive));
  transition: height .4s ease;
}
.service-card:hover::before { height: 100%; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--mustard);
}
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(201,168,76,.15), rgba(95,122,90,.1));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--mustard), var(--mustard-dark));
}
.service-card h3 { color: var(--dark); margin-bottom: .5rem; }
.service-card p  { font-size: .9rem; }

/* ── ABOUT ─────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-bg {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 50%, var(--mustard-dark) 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 8rem; opacity: .8;
}
.about-badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--mustard);
  color: var(--dark); border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}
.about-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 900; line-height: 1;
}
.about-badge-text { font-size: .75rem; font-weight: 600; }

.about-values { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.about-value {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
}
.about-value-icon {
  font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem;
}
.about-value h4 { color: var(--dark); margin-bottom: .3rem; }
.about-value p  { font-size: .88rem; }

/* ── SUCCESS CASES ─────────────────────────────── */
.cases-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.case-card {
  background: var(--dark);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.case-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--mustard), var(--olive));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.case-card:hover::after { transform: scaleX(1); }
.case-card:hover { border-color: rgba(201,168,76,.5); transform: translateY(-4px); }

.case-area {
  display: inline-block;
  background: rgba(201,168,76,.15);
  color: var(--mustard-light);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 50px;
  margin-bottom: 1rem;
}
.case-card h3 { color: var(--white); margin-bottom: .75rem; }
.case-card .desc { color: #aaa; font-size: .9rem; margin-bottom: 1rem; }
.case-outcome {
  display: flex; align-items: flex-start; gap: .5rem;
  background: rgba(95,122,90,.15);
  border-left: 3px solid var(--olive);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: .75rem;
}
.case-outcome span { color: var(--olive-light); font-size: .88rem; }

.loading-spinner {
  text-align: center; padding: 3rem; color: #888;
}

/* ── TESTIMONIALS ──────────────────────────────── */
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.testimonial-slide {
  flex: 0 0 100%; padding: 0 .5rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  position: relative;
}
.testimonial-quote {
  font-size: 3rem; line-height: 1; color: var(--mustard);
  font-family: 'Playfair Display', serif; margin-bottom: .5rem;
  opacity: .5;
}
.testimonial-card p { font-size: .95rem; color: var(--dark); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mustard), var(--olive));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; color: var(--dark); }
.testimonial-case { font-size: .82rem; color: var(--olive); }

.slider-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 2rem;
}
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--mustard); background: transparent;
  color: var(--mustard); font-size: 1.2rem;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.slider-btn:hover { background: var(--mustard); color: var(--dark); }
.slider-dots { display: flex; gap: .5rem; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); cursor: pointer; transition: var(--transition);
}
.slider-dot.active { background: var(--mustard); width: 24px; border-radius: 4px; }

/* ── REVIEWS ───────────────────────────────────── */
.reviews-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 3rem; align-items: start;
}
.reviews-form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  position: sticky; top: 90px;
}
.reviews-form-wrap h3 { color: var(--dark); margin-bottom: .5rem; }
.reviews-form-wrap p { margin-bottom: 1.5rem; font-size: .9rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-weight: 600; font-size: .875rem;
  color: var(--dark); margin-bottom: .5rem;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1.5px solid #e5e0d8; border-radius: var(--radius);
  font-family: inherit; font-size: .9rem; background: var(--surface);
  transition: border-color .25s;
  color: var(--dark);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--mustard);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-group textarea { min-height: 100px; resize: vertical; }

.star-rating { display: flex; gap: .25rem; margin-bottom: .5rem; }
.star-rating span {
  font-size: 1.6rem; cursor: pointer; color: #ddd;
  transition: color .2s, transform .15s;
  user-select: none;
}
.star-rating span:hover,
.star-rating span.active { color: var(--mustard); transform: scale(1.15); }

.form-msg {
  padding: .75rem 1rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; margin-top: .75rem;
  display: none;
}
.form-msg.success { background: rgba(95,122,90,.15); color: var(--olive-dark); display: block; }
.form-msg.error   { background: rgba(220,50,50,.1); color: #c0392b; display: block; }

.reviews-list { display: flex; flex-direction: column; gap: 1rem; }
.review-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: var(--transition);
}
.review-card:hover { border-color: var(--mustard); transform: translateX(4px); }
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.review-name   { font-weight: 700; color: var(--dark); }
.review-stars  { color: var(--mustard); letter-spacing: -.1em; }
.review-text   { font-size: .92rem; color: #555; font-style: italic; }
.review-date   { font-size: .78rem; color: #aaa; margin-top: .5rem; }
.no-reviews    { text-align: center; padding: 2rem; color: #aaa; }

/* ── CONTACT ───────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 3rem; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1.25rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  transition: var(--transition);
}
.contact-item:hover {
  border-color: var(--mustard); transform: translateX(4px);
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(201,168,76,.2), rgba(95,122,90,.15));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-item-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--mustard); }
.contact-item-val   { font-size: .95rem; color: var(--dark); font-weight: 500; }

.contact-map {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.contact-map iframe {
  width: 100%; height: 360px; border: none; display: block;
}
.contact-socials {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .5rem;
}
.social-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--dark); color: var(--mustard-light);
  padding: .6rem 1.25rem; border-radius: 50px;
  font-size: .875rem; font-weight: 600;
  transition: var(--transition);
}
.social-btn:hover { background: var(--mustard); color: var(--dark); transform: translateY(-2px); }

/* ── FOOTER ────────────────────────────────────── */
.footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(201,168,76,.15);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { color: #888; font-size: .9rem; margin: 1rem 0 1.5rem; max-width: 280px; }
.footer-col h4  { color: var(--mustard); margin-bottom: 1rem; font-size: .9rem; letter-spacing: .05em; }
.footer-col ul li + li { margin-top: .6rem; }
.footer-col ul li a   { color: #888; font-size: .875rem; transition: color .25s; }
.footer-col ul li a:hover { color: var(--mustard); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: #555; font-size: .82rem; }
.footer-bottom span { color: var(--mustard); }

/* ── ADMIN PANEL ───────────────────────────────── */
.admin-body {
  font-family: 'Inter', sans-serif;
  background: #0F0F0F; color: var(--dark);
  min-height: 100vh;
}
.admin-login {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0F0F0F 0%, #1a1a1a 100%);
  padding: 2rem;
}
.admin-login-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 3rem; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.admin-logo {
  text-align: center; margin-bottom: 2rem;
}
.admin-logo-box {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--mustard), var(--mustard-dark));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 900; color: var(--dark);
  margin: 0 auto 1rem;
}
.admin-login-card h2 { text-align: center; font-size: 1.5rem; margin-bottom: .5rem; }
.admin-login-card p  { text-align: center; font-size: .88rem; margin-bottom: 2rem; }

.admin-layout {
  display: flex; min-height: 100vh;
}
.admin-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--dark-2);
  border-right: 1px solid rgba(201,168,76,.12);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; height: 100vh;
  overflow-y: auto; z-index: 100;
  transition: transform .3s;
}
.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(201,168,76,.12);
}
.sidebar-logo {
  display: flex; align-items: center; gap: .75rem;
}
.sidebar-logo-box {
  width: 36px; height: 36px;
  background: var(--mustard); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: .95rem; color: var(--dark);
}
.sidebar-logo-text { font-weight: 600; font-size: .9rem; color: var(--mustard); }
.sidebar-logo-sub  { font-size: .7rem; color: #666; }

.sidebar-nav { padding: 1rem; flex: 1; }
.sidebar-nav-label {
  font-size: .65rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #555; padding: .5rem .75rem;
  margin-bottom: .25rem;
}
.sidebar-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; border-radius: 8px;
  color: #888; font-size: .875rem; font-weight: 500;
  cursor: pointer; transition: var(--transition);
  margin-bottom: .25rem;
}
.sidebar-link:hover, .sidebar-link.active {
  background: rgba(201,168,76,.1); color: var(--mustard);
}
.sidebar-link.active { background: rgba(201,168,76,.15); }
.sidebar-icon { font-size: 1.1rem; }

.sidebar-footer { padding: 1rem 1.5rem; border-top: 1px solid rgba(201,168,76,.1); }
.admin-user { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.admin-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mustard); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}
.admin-email { font-size: .78rem; color: #aaa; }
.logout-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: rgba(220,50,50,.1); color: #e57373;
  border: 1px solid rgba(220,50,50,.2);
  padding: .6rem; border-radius: 8px; font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.logout-btn:hover { background: rgba(220,50,50,.2); }

.admin-main {
  flex: 1; margin-left: 260px;
  background: #F4F1EB; min-height: 100vh;
}
.admin-topbar {
  background: var(--white); border-bottom: 1px solid #e8e0d0;
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-topbar h1 { font-size: 1.4rem; color: var(--dark); }
.admin-topbar p  { font-size: .85rem; color: var(--gray); margin: 0; }

.admin-content { padding: 2rem; }

.admin-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem;
}
.stat-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid #e8e0d0; padding: 1.5rem;
}
.stat-card-label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); margin-bottom: .5rem; }
.stat-card-num   { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--dark); }
.stat-card-sub   { font-size: .78rem; color: var(--olive); font-weight: 500; }

.admin-table-wrap {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid #e8e0d0; overflow: hidden;
  margin-bottom: 2rem;
}
.admin-table-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e8e0d0;
}
.admin-table-header h3 { font-size: 1rem; }
table { width: 100%; border-collapse: collapse; }
thead { background: #FAF7F2; }
thead th {
  padding: .75rem 1rem; text-align: left;
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--gray);
  border-bottom: 1px solid #e8e0d0;
}
tbody tr { border-bottom: 1px solid #F0EBE2; transition: background .2s; }
tbody tr:last-child   { border-bottom: none; }
tbody tr:hover { background: #FEFCF8; }
tbody td { padding: .85rem 1rem; font-size: .875rem; color: var(--dark); }

.badge {
  display: inline-block; padding: .25rem .75rem;
  border-radius: 50px; font-size: .72rem; font-weight: 600;
}
.badge-green  { background: rgba(95,122,90,.15); color: var(--olive-dark); }
.badge-yellow { background: rgba(201,168,76,.15); color: var(--mustard-dark); }
.badge-red    { background: rgba(220,50,50,.1); color: #c0392b; }

.action-btns { display: flex; gap: .5rem; }
.action-btn  {
  padding: .35rem .75rem; border-radius: 6px;
  font-size: .75rem; font-weight: 600; cursor: pointer;
  border: none; transition: var(--transition);
}
.action-btn-ok  { background: rgba(95,122,90,.15); color: var(--olive-dark); }
.action-btn-ok:hover { background: var(--olive); color: var(--white); }
.action-btn-del { background: rgba(220,50,50,.1); color: #c0392b; }
.action-btn-del:hover { background: #e74c3c; color: var(--white); }
.action-btn-edit{ background: rgba(201,168,76,.15); color: var(--mustard-dark); }
.action-btn-edit:hover { background: var(--mustard); color: var(--dark); }

.admin-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 999; display: none;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.admin-modal-overlay.open { display: flex; }
.admin-modal {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; width: 100%; max-width: 520px;
  box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto;
}
.admin-modal h3 { font-size: 1.2rem; margin-bottom: 1.5rem; }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-card    { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .reviews-layout { grid-template-columns: 1fr; }
  .reviews-form-wrap { position: static; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-mobile-open .nav-links {
    display: flex; flex-direction: column; position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(20,20,20,.98); padding: 1.5rem;
    gap: 1rem; z-index: 999;
  }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-main  { margin-left: 0; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-stats   { flex-direction: column; gap: 1rem; }
  .admin-stats  { grid-template-columns: 1fr; }
}

/* ── Animations ────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp .6s ease both; }
.fade-in-2 { animation: fadeInUp .6s ease .15s both; }
.fade-in-3 { animation: fadeInUp .6s ease .3s both; }

/* ── Scroll reveal ─────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── WhatsApp float ────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 998;
  background: #25D366; color: var(--white);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: var(--transition);
  animation: pulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.12); }
@keyframes pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%      { box-shadow: 0 4px 36px rgba(37,211,102,.8); }
}

/* ── Google Ads compatible ─────────────────────── */
.ads-section { background: var(--light); padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.ads-label   { font-size: .65rem; color: #bbb; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; }
