/* ================================================================
   AVOCAT MARIA NEAGU — Main Stylesheet
   Premium Romanian Law Firm Website
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
  /* Colors */
  --gold:         #C9A84C;
  --gold-light:   #E2C97A;
  --gold-dark:    #A8892E;
  --gold-pale:    rgba(201,168,76,0.12);
  --navy:         #1A1A2E;
  --navy-dark:    #0F0F1A;
  --charcoal:     #1C1C1C;
  --white:        #FFFFFF;
  --warm-gray:    #F8F9FA;
  --gray-100:     #F0F0F0;
  --gray-200:     #E0E0E0;
  --text-dark:    #2D2D2D;
  --text-medium:  #555555;
  --text-muted:   #888888;
  --text-light:   #F5F5F5;
  --burgundy:     #7B2D3F;
  --whatsapp:     #25D366;
  --error:        #E53935;
  --success:      #2E7D32;

  /* Typography */
  --font-serif:  'Playfair Display', serif;
  --font-sans:   'Raleway', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  /* Spacing (8px grid) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;

  /* Section padding */
  --section-py: clamp(60px, 8vw, 120px);

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-normal: 0.3s ease;
  --t-slow:   0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --shadow-xl: 0 24px 80px rgba(0,0,0,0.24);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.35);

  /* Border radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Navbar height */
  --topbar-h: 40px;
  --nav-h: 112px;
  --nav-total: calc(var(--topbar-h) + var(--nav-h));
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-normal);
}

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button { cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

/* ----------------------------------------------------------------
   3. UTILITY CLASSES
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.container--wide {
  max-width: 1440px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-2);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: var(--sp-2);
}

.section-title--white {
  color: var(--white);
}

.section-subtitle {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-medium);
  max-width: 640px;
  line-height: 1.75;
}

.section-subtitle--white {
  color: rgba(255,255,255,0.75);
}

.section {
  padding: var(--section-py) 0;
}

.section-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin: 0 auto;
}

.gold-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: var(--sp-2) 0 var(--sp-3);
  border-radius: var(--r-full);
}

.gold-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: all var(--t-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform var(--t-normal);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}

.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn--full { width: 100%; justify-content: center; }

/* Tags */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--gold-pale);
  color: var(--gold-dark);
  border-radius: var(--r-full);
  border: 1px solid rgba(201,168,76,0.25);
}

/* ----------------------------------------------------------------
   4. SCROLL ANIMATIONS
   ---------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-animate="fade-up"]    { transform: translateY(40px); }
[data-animate="fade-left"]  { transform: translateX(-40px); }
[data-animate="fade-right"] { transform: translateX(40px); }
[data-animate="fade-in"]    { transform: none; }
[data-animate="zoom-in"]    { transform: scale(0.92); }

[data-animate].animated {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }
[data-delay="700"] { transition-delay: 0.7s; }
[data-delay="800"] { transition-delay: 0.8s; }

/* ----------------------------------------------------------------
   5. PRELOADER
   ---------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__monogram {
  width: 160px;
  height: auto;
  animation: preloaderPulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(201,168,76,0.4));
}

.preloader__subtitle {
  margin-top: var(--sp-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.preloader__bar {
  margin-top: var(--sp-5);
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--r-full);
  overflow: hidden;
}

.preloader__progress {
  height: 100%;
  background: var(--gold);
  border-radius: var(--r-full);
  animation: preloaderBar 1.6s cubic-bezier(0.16,1,0.3,1) forwards;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(0.97); }
}

@keyframes preloaderBar {
  from { width: 0; }
  to   { width: 100%; }
}

/* ----------------------------------------------------------------
   6. TOPBAR
   ---------------------------------------------------------------- */
#topbar {
  height: var(--topbar-h);
  background: var(--navy-dark);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: transform var(--t-normal);
}

#topbar.hidden {
  transform: translateY(-100%);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.3px;
  transition: color var(--t-normal);
}

.topbar__item:hover { color: var(--gold); }

.topbar__item svg {
  width: 13px;
  height: 13px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.topbar__divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.15);
}

/* ----------------------------------------------------------------
   7. NAVBAR
   ---------------------------------------------------------------- */
#navbar {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--t-normal), box-shadow var(--t-normal), top var(--t-normal);
}

#navbar.scrolled {
  background: rgba(15, 15, 26, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

#navbar.topbar-hidden {
  top: 0;
}

.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo-img {
  height: 104px;
  width: auto;
  object-fit: contain;
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
}

.navbar__logo-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.navbar__logo-subtitle {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

/* Nav links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.navbar__link {
  position: relative;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border-radius: var(--r-sm);
  transition: color var(--t-normal);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 28px);
  height: 1.5px;
  background: var(--gold);
  transition: transform var(--t-normal);
  transform-origin: center;
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--gold);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* CTA Button */
.navbar__cta {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 1.5px;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: var(--r-full);
  transition: all var(--t-normal);
  transform-origin: center;
}

.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-normal), visibility var(--t-normal);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: clamp(24px, 5vw, 36px);
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  transition: color var(--t-normal);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-normal), transform var(--t-normal), color var(--t-normal);
}

.mobile-menu.open .mobile-menu__link {
  opacity: 1;
  transform: none;
}

.mobile-menu.open .mobile-menu__link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open .mobile-menu__link:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.open .mobile-menu__link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu__link:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu.open .mobile-menu__link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-menu__link:nth-child(6) { transition-delay: 0.30s; }

.mobile-menu__link:hover { color: var(--gold); }

.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  margin-top: var(--sp-4);
}

.mobile-menu__contact-item {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu__contact-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
}

.mobile-menu__gold-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: var(--sp-3) 0;
  opacity: 0.4;
}

/* ----------------------------------------------------------------
   8. HERO SECTION
   ---------------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-total);
  overflow: hidden;
  background: var(--navy-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(26,26,46,0.95) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(123,45,63,0.15) 0%, transparent 60%),
    linear-gradient(135deg, #0F0F1A 0%, #1A1A2E 40%, #16162A 70%, #1C1222 100%);
}

.hero__bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('../photos/2151945761.jpg');
  background-size: cover;
  background-position: center right;
  opacity: 0.18;
  filter: grayscale(30%);
}

.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-16) 0;
  min-height: calc(100vh - var(--nav-total));
}

.hero__content {
  max-width: 680px;
}

.hero__eyebrow {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero__heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.5px;
}

.hero__heading em {
  font-style: italic;
  color: var(--gold);
}

.hero__paragraph {
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: var(--sp-5);
  max-width: 560px;
}

.hero__buttons {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}


/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: heroScrollLine 2s ease-in-out infinite;
}

.hero__scroll-chevron {
  width: 14px;
  height: 14px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  animation: heroScrollBounce 2s ease-in-out infinite;
}

@keyframes heroScrollLine {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

@keyframes heroScrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ----------------------------------------------------------------
   9. ABOUT SECTION
   ---------------------------------------------------------------- */
#despre {
  padding: var(--section-py) 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

#despre::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--gold-pale) 0%, transparent 70%);
  pointer-events: none;
}

.about__grid {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: var(--sp-10);
  align-items: start;
  margin-bottom: var(--sp-10);
}

.about__text p {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.85;
  margin-bottom: var(--sp-3);
}

.about__text p:first-of-type {
  font-size: 17px;
  color: var(--text-dark);
  font-weight: 400;
}

.about__quote {
  position: relative;
  margin: var(--sp-5) 0;
  padding: var(--sp-4) var(--sp-4) var(--sp-4) calc(var(--sp-4) + 20px);
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-pale) 0%, transparent 100%);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.about__quote-mark {
  font-family: var(--font-accent);
  font-size: 80px;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 16px;
  left: 20px;
  font-style: normal;
  user-select: none;
}

.about__quote-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-dark);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* Photo side */
.about__visual {
  position: relative;
}

.about__photo-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--navy) 0%, var(--charcoal) 100%);
  box-shadow: var(--shadow-xl);
}

.about__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about__photo-badge {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-3);
  right: var(--sp-3);
  background: rgba(15,15,26,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.about__photo-badge-icon {
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about__photo-badge-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--navy);
}

.about__photo-badge-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.about__photo-badge-text span {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.about__deco-rect {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: var(--r-lg);
  opacity: 0.2;
  pointer-events: none;
}

/* Counters */
.about__counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-200);
}

.counter-card {
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  position: relative;
  border-right: 1px solid var(--gray-200);
}

.counter-card:last-child { border-right: none; }

.counter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.8s cubic-bezier(0.16,1,0.3,1);
  border-radius: var(--r-full);
}

.counter-card.animated::before {
  width: 48px;
}

.counter-card__number {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.counter-card__number span {
  color: var(--gold);
}

.counter-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------
   10. PRACTICE AREAS
   ---------------------------------------------------------------- */
#arii-practica {
  padding: var(--section-py) 0;
  background: var(--warm-gray);
  position: relative;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.practice-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 0;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-normal), box-shadow var(--t-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.practice-card__image {
  width: 100%;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}

.practice-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.practice-card:hover .practice-card__image img {
  transform: scale(1.06);
}

.practice-card__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-normal);
}

.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.practice-card:hover::before {
  transform: scaleX(1);
}

.practice-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-gray);
  border-radius: var(--r-md);
  transition: background var(--t-normal);
}

.practice-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-muted);
  transition: stroke var(--t-normal);
  stroke-width: 1.5;
}

.practice-card:hover .practice-card__icon {
  background: var(--gold-pale);
}

.practice-card:hover .practice-card__icon svg {
  stroke: var(--gold);
}

.practice-card__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--sp-2);
  transition: color var(--t-normal);
}

.practice-card:hover .practice-card__title {
  color: var(--navy);
}

.practice-card__desc {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.75;
}

.practice-card__extra {
  display: none;
}

.practice-card__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--t-normal);
}

.practice-card:hover .practice-card__toggle {
  gap: 10px;
}

.practice-card__toggle svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  transition: transform var(--t-normal);
  stroke-width: 2.5;
}


/* ----------------------------------------------------------------
   PRACTICE AREA PAGE
   ---------------------------------------------------------------- */
.area-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: var(--sp-10);
}

.area-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(20%);
  transform: scale(1.04);
  transition: transform 8s ease;
}

.area-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,12,20,0.55) 0%, rgba(10,12,20,0.82) 100%);
}

.area-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + 48px);
}

.area-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--sp-4);
}

.area-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}

.area-hero__intro {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 640px;
}

.area-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-5);
}

.area-hero__breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--t-fast);
}

.area-hero__breadcrumb a:hover { color: var(--gold-light); }

/* Services grid on area page */
.area-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}

.area-service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: transform var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal);
}

.area-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.3);
}

.area-service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
}

.area-service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.area-service-card__title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--sp-2);
}

.area-service-card__desc {
  font-size: 13px;
  color: var(--text-medium);
  line-height: 1.75;
}

/* Area CTA banner */
.area-cta {
  background: var(--navy-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.area-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-gold);
}

.area-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: var(--sp-3);
}

.area-cta__text {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--sp-6);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.area-cta__btns {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------------
   11. WORK PROCESS
   ---------------------------------------------------------------- */
#proces {
  padding: var(--section-py) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#proces::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: var(--sp-10);
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 14px);
  right: calc(10% + 14px);
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(201,168,76,0.3), var(--gold));
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--sp-2);
  position: relative;
}

.process-step__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: rgba(201,168,76,0.5);
  margin-bottom: var(--sp-4);
  position: relative;
  z-index: 1;
  transition: all var(--t-slow);
  flex-shrink: 0;
}

.process-step.animated .process-step__number {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 0 0 8px rgba(201,168,76,0.15), var(--shadow-gold);
}

.process-step__emoji {
  font-size: 28px;
  margin-bottom: var(--sp-2);
  opacity: 0.7;
  transition: opacity var(--t-normal), transform var(--t-normal);
}

.process-step:hover .process-step__emoji {
  opacity: 1;
  transform: scale(1.15);
}

.process-step__title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-2);
}

.process-step__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   12. TESTIMONIALS
   ---------------------------------------------------------------- */
#testimoniale {
  padding: var(--section-py) 0;
  background: var(--white);
  overflow: hidden;
}

.testimonials__carousel {
  position: relative;
  margin-top: var(--sp-8);
}

.testimonials__track {
  overflow: hidden;
}

.testimonials__slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
}

.testimonial-card {
  max-width: 780px;
  width: 100%;
  background: var(--warm-gray);
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 60px);
  position: relative;
  border: 1px solid var(--gray-200);
}

.testimonial-card__quote {
  font-family: var(--font-accent);
  font-size: 80px;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 24px;
  left: 32px;
  font-style: normal;
  user-select: none;
}

.testimonial-card__text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
  position: relative;
  z-index: 1;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.2;
}

.testimonial-card__case {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
}

.testimonial-card__stars span {
  font-size: 16px;
  color: var(--gold);
}

/* Carousel controls */
.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.testimonials__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-normal);
  color: var(--text-dark);
}

.testimonials__arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-dark);
  stroke-width: 2;
  transition: stroke var(--t-normal);
}

.testimonials__arrow:hover {
  border-color: var(--gold);
  background: var(--gold);
}

.testimonials__arrow:hover svg {
  stroke: var(--navy);
}

.testimonials__dots {
  display: flex;
  gap: 8px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--gray-200);
  cursor: pointer;
  transition: all var(--t-normal);
}

.testimonials__dot.active {
  background: var(--gold);
  width: 24px;
}

/* ----------------------------------------------------------------
   13. BLOG PREVIEW
   ---------------------------------------------------------------- */
#blog-preview {
  padding: var(--section-py) 0;
  background: var(--warm-gray);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.blog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,26,0.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-normal);
}

.blog-card:hover .blog-card__image-overlay {
  opacity: 1;
}

.blog-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  color: rgba(255,255,255,0.5);
}

.blog-card__body {
  padding: var(--sp-4);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
}

.blog-card__date {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.blog-card__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: var(--sp-2);
  transition: color var(--t-normal);
}

.blog-card:hover .blog-card__title {
  color: var(--navy);
}

.blog-card__excerpt {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: var(--sp-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--t-normal);
}

.blog-card:hover .blog-card__link {
  gap: 10px;
}

.blog-preview__cta {
  text-align: center;
  margin-top: var(--sp-3);
}

/* ----------------------------------------------------------------
   14. FAQ SECTION
   ---------------------------------------------------------------- */
#faq {
  padding: var(--section-py) 0;
  background: var(--white);
}

.faq__list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--t-normal);
}

.faq-item__question {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  transition: color var(--t-normal);
}

.faq-item__trigger:hover .faq-item__question,
.faq-item.open .faq-item__question {
  color: var(--navy);
}

.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--warm-gray);
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-normal);
  position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  border-radius: var(--r-full);
  transition: all var(--t-normal);
}

.faq-item__icon::before {
  width: 10px;
  height: 1.5px;
}

.faq-item__icon::after {
  width: 1.5px;
  height: 10px;
}

.faq-item.open .faq-item__icon {
  background: var(--gold);
  border-color: var(--gold);
  transform: rotate(45deg);
}

.faq-item.open .faq-item__icon::before,
.faq-item.open .faq-item__icon::after {
  background: var(--navy);
}

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1);
}

.faq-item.open .faq-item__body {
  max-height: 300px;
}

.faq-item__answer {
  padding: 0 0 var(--sp-3) 0;
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.8;
}

/* ----------------------------------------------------------------
   15. CONTACT SECTION
   ---------------------------------------------------------------- */
#contact {
  padding: var(--section-py) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: var(--sp-10);
  align-items: start;
}

.contact__info-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: var(--sp-5);
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.contact__info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__info-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--gold);
  stroke-width: 1.8;
}

.contact__info-text strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.contact__social {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}

.contact__social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-normal);
  color: rgba(255,255,255,0.6);
}

.contact__social-link svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
}

.contact__social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

/* Contact Form */
.contact__form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.form-group {
  position: relative;
  margin-bottom: var(--sp-3);
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
  transition: color var(--t-normal);
}

.form-group:focus-within .form-label {
  color: var(--gold);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.15);
  padding: 10px 0;
  font-size: 15px;
  color: var(--white);
  outline: none;
  border-radius: 0;
  transition: border-color var(--t-normal);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-bottom-color: var(--gold);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-bottom-color: var(--error);
}

.form-select {
  cursor: pointer;
  color: rgba(255,255,255,0.6);
}

.form-select option {
  background: var(--navy);
  color: var(--white);
}

.form-textarea {
  resize: none;
  min-height: 100px;
  line-height: 1.6;
}

.form-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 4px;
  display: none;
}

.form-error.visible { display: block; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  cursor: pointer;
  margin-bottom: var(--sp-4);
}

.form-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--t-normal);
  position: relative;
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
}

.form-checkbox__text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.form-checkbox__text a {
  color: var(--gold);
  text-decoration: underline;
}

/* Form success overlay */
.form-success {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.97);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-normal);
  z-index: 10;
}

.form-success.visible {
  opacity: 1;
  visibility: visible;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(46,125,50,0.15);
  border: 2px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
}

.form-success__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--success);
  stroke-width: 2.5;
}

.form-success__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-1);
}

.form-success__text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   16. MAP SECTION
   ---------------------------------------------------------------- */
#map {
  height: 380px;
  position: relative;
  overflow: hidden;
}

#map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(100%) contrast(0.9);
  transition: filter 0.5s ease;
}

#map:hover iframe {
  filter: grayscale(0%) contrast(1);
}

#map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201,168,76,0.08);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#map:hover::after {
  opacity: 0;
}

/* ----------------------------------------------------------------
   17. FOOTER
   ---------------------------------------------------------------- */
#footer {
  background: #0a0a12;
  color: rgba(255,255,255,0.65);
  padding-top: var(--sp-10);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--sp-3);
}

.footer__logo img {
  height: 44px;
  width: auto;
}

.footer__logo-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.footer__logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__desc {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: var(--sp-3);
  color: rgba(255,255,255,0.5);
}

.footer__social {
  display: flex;
  gap: var(--sp-1);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-normal);
  color: rgba(255,255,255,0.5);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.footer__social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-3);
  position: relative;
  padding-bottom: var(--sp-2);
}

.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  border-radius: var(--r-full);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--t-normal), padding-left var(--t-normal);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__link::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--t-normal);
  flex-shrink: 0;
}

.footer__link:hover {
  color: var(--gold);
  padding-left: 8px;
}

.footer__link:hover::before { opacity: 1; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer__contact-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  stroke-width: 2;
}

.footer__contact-item a:hover { color: var(--gold); }

/* Footer bottom bar */
.footer__bottom {
  padding: var(--sp-3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.footer__copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer__legal-links {
  display: flex;
  gap: var(--sp-3);
}

.footer__legal-link {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  transition: color var(--t-normal);
}

.footer__legal-link:hover { color: var(--gold); }

/* ----------------------------------------------------------------
   18. FLOATING BUTTONS
   ---------------------------------------------------------------- */
/* WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.whatsapp-btn__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--t-normal), box-shadow var(--t-normal);
  position: relative;
  flex-shrink: 0;
}

.whatsapp-btn__icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: waPulse 2.5s ease-out infinite;
}

.whatsapp-btn__icon::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(37,211,102,0.2);
  animation: waPulse 2.5s ease-out infinite 0.4s;
}

.whatsapp-btn__icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
  position: relative;
  z-index: 1;
}

.whatsapp-btn__tooltip {
  background: var(--charcoal);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--t-normal);
  pointer-events: none;
  letter-spacing: 0.3px;
}

.whatsapp-btn:hover .whatsapp-btn__tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-btn:hover .whatsapp-btn__icon {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--t-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.45);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
  stroke-width: 2.5;
}

/* ----------------------------------------------------------------
   19. BLOG PAGE SPECIFIC
   ---------------------------------------------------------------- */
.page-hero {
  background: var(--navy-dark);
  padding: calc(var(--nav-total) + var(--sp-10)) 0 var(--sp-10);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1a1a2e 50%, var(--navy-dark) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.page-hero__breadcrumb a { color: var(--gold); }

.blog-main {
  padding: var(--section-py) 0;
  background: var(--warm-gray);
}

.blog-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.blog-no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-10);
  background: var(--white);
  border-radius: var(--r-lg);
  color: var(--text-muted);
  font-size: 15px;
}

/* ----------------------------------------------------------------
   20. ADMIN PANEL STYLES
   ---------------------------------------------------------------- */
.admin-login {
  min-height: 100vh;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
}

.admin-login__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 56px);
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.admin-login__logo {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.admin-login__subtitle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-5);
}

.admin-login__title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--white);
  margin-bottom: var(--sp-5);
}

/* ----------------------------------------------------------------
   21. RESPONSIVE DESIGN
   ---------------------------------------------------------------- */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
  .navbar__nav { display: none; }
  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .about__visual { max-width: 400px; margin: 0 auto; }

  .about__counters {
    grid-template-columns: repeat(2, 1fr);
  }
  .counter-card:nth-child(2) { border-right: none; }
  .counter-card:nth-child(3) { border-top: 1px solid var(--gray-200); }

  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__steps {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .process__steps::before { display: none; }

  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: var(--sp-3);
  }
  .process-step__number {
    margin-bottom: 0;
    flex-shrink: 0;
    margin-top: 4px;
  }
  .process-step__content { flex: 1; }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid .blog-card:last-child {
    grid-column: span 2;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
  }

  .topbar__right {
    display: none;
  }

  .blog-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: ≤ 640px */
@media (max-width: 640px) {
  :root {
    --topbar-h: 0px;
  }

  #topbar { display: none; }

  #navbar { top: 0; }

  .hero__buttons { flex-direction: column; align-items: flex-start; }
  .hero__buttons .btn { width: 100%; justify-content: center; }

  .about__counters {
    grid-template-columns: repeat(2, 1fr);
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: var(--sp-4);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid .blog-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-btn__icon { width: 48px; height: 48px; }

  .back-to-top {
    bottom: 84px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .blog-full-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------
   22. PRINT STYLES
   ---------------------------------------------------------------- */
@media print {
  #preloader,
  #topbar,
  #navbar,
  .mobile-menu,
  .whatsapp-btn,
  .back-to-top,
  #map,
  .testimonials__controls,
  .hero__scroll {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a { text-decoration: underline; }

  .hero__heading, .section-title { color: #000; }

  #hero {
    background: none;
    color: #000;
    min-height: auto;
    padding: 20pt 0;
  }

  section { padding: 20pt 0; break-inside: avoid; }
}
