/* ===================================================
   BÜYÜKGÜZEL HUKUK BÜROSU - STYLE SYSTEM
   Renk Paleti: Lacivert, Altın/Bakır, Beyaz
   =================================================== */

/* Local system fonts keep text readable without a font download. */

:root {
  --navy-dark: #0e1a2b;
  --navy: #152238;
  --navy-light: #1c2d47;
  --navy-lighter: #243656;
  --gold: #C4956A;
  --gold-light: #D4A574;
  --gold-lighter: #E2BD94;
  --gold-dark: #A87C55;
  --white: #FFFFFF;
  --off-white: #f7f8fa;
  --cream: #F0EDE8;
  --gray-light: #E0DCD6;
  --gray: #5f6873;
  --gray-dark: #4d5865;
  --text-dark: #1a1a2e;
  --font-heading: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(14, 26, 43, 0.08);
  --shadow-md: 0 4px 20px rgba(14, 26, 43, 0.12);
  --shadow-lg: 0 8px 40px rgba(14, 26, 43, 0.16);
  --shadow-gold: 0 4px 20px rgba(196, 149, 106, 0.25);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: calc(100% - 64px);
  max-width: 1184px;
  margin: 0 auto;
}

/* ---- Section Commons ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #90603c;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1.5px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 18px;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

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

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-dark);
  max-width: 62ch;
  line-height: 1.75;
}

.section-subtitle.light {
  color: #cbd3de;
}

/* ---- Reveal ---- */
.reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 52px;
  justify-content: center;
  line-height: 1.4;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

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

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

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

/* =====================================================
   HEADER
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-base);
  background: rgba(14, 26, 43, 0.94);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
}

.header.scrolled {
  background: rgba(14, 26, 43, 0.97);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 46px;
  transition: height var(--transition-base);
}

.header.scrolled .header-logo img { height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #e2e7ef;
  letter-spacing: 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 22px !important;
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-dark) !important; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: transparent;
  border: 0;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: min(820px, 100svh);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(14, 26, 43, 0.92) 0%,
    rgba(14, 26, 43, 0.8) 50%,
    rgba(14, 26, 43, 0.6) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 170px;
  padding-bottom: 120px;
}

.hero-content {
  max-width: 760px;
}

.hero-overline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-lighter);
  margin-bottom: 24px;
  opacity: 1;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 0;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-title span {
  color: var(--gold-light);
  font-style: normal;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 28px 0;
}

.hero-description {
  font-size: 1.125rem;
  color: #d6dde6;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 55ch;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #cad2de;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

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

/* =====================================================
   ABOUT
   ===================================================== */
.about {
  padding: 88px 0;
  background: var(--off-white);
}

.about .container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.about-image-area { position: relative; }

.about-image-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.about-image-box img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 160px;
  height: 160px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.5;
  display: none;
}

.about-content { padding-left: 10px; }

.about-text {
  font-size: 1rem;
  color: var(--gray-dark);
  margin-bottom: 18px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 10px;
  transition: background var(--transition-fast);
  background: var(--white);
  border: 1px solid #e3e7ec;
}

.about-feature:hover { background: var(--cream); }

.about-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(196,149,106,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.about-feature h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  line-height: 1.4;
}

.about-feature p {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.6;
}

/* =====================================================
   PRACTICE BANNER
   ===================================================== */
.practice-banner {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}

.practice-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.practice-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.practice-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 26, 43, 0.85) 0%,
    rgba(21, 34, 56, 0.75) 100%
  );
  z-index: 1;
}

.practice-banner .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.practice-banner .section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}

.practice-banner .section-subtitle {
  margin: 0 auto;
}

/* =====================================================
   PRACTICE AREAS
   ===================================================== */
.practice-areas {
  padding: 64px 0 88px;
  background: var(--off-white);
}

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

.practice-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid #dfe4eb;
}

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

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

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

.practice-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(196,149,106,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition-base);
}

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

.practice-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  transition: stroke var(--transition-base);
}

.practice-card:hover .practice-card-icon svg { stroke: var(--white); }

.practice-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.practice-card p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.75;
}

.practice-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #83552f;
  opacity: 1;
  transform: none;
  transition: all var(--transition-base);
}

.practice-card:hover .practice-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* =====================================================
   WHY US
   ===================================================== */
.why-us {
  padding: 88px 0;
  background: var(--navy);
  position: relative;
}

.why-us .section-header {
  text-align: center;
  margin-bottom: 56px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-us-card {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 30px;
  transition: all var(--transition-base);
}

.why-us-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(196,149,106,0.2);
  transform: translateY(-4px);
}

.why-us-card-content { position: relative; z-index: 1; }

.why-us-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.why-us-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.8;
}

.why-us-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.why-us-card p {
  font-size: 1rem;
  color: #cbd3de;
  line-height: 1.8;
}

/* =====================================================
   CTA BANNER (Mersin)
   ===================================================== */
.cta-banner {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14, 26, 43, 0.9) 0%,
    rgba(14, 26, 43, 0.6) 50%,
    rgba(14, 26, 43, 0.75) 100%
  );
  z-index: 1;
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner-content {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
}

.cta-banner-content .section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}

.cta-banner-content .section-subtitle {
  margin: 0 auto;
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact {
  padding: 88px 0;
  background: var(--off-white);
}

.contact .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}

.contact-info .section-subtitle { margin-bottom: 36px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid #dfe4eb;
  transition: all var(--transition-base);
}

.contact-detail:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(196,149,106,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.contact-detail h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.contact-detail p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.contact-social {
  display: flex;
  gap: 10px;
}

.contact-social a {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.contact-social a svg {
  width: 18px;
  height: 18px;
  fill: var(--navy);
  transition: fill var(--transition-base);
}

.contact-social a:hover svg { fill: var(--white); }

.contact-form-wrapper {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #dfe4eb;
  align-self: start;
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.35;
}

.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(196,149,106,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray); }

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit { width: 100%; margin-top: 6px; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--navy-dark);
  color: #c1cad6;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand img { width: auto; height: 50px; margin-bottom: 18px; }

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.8;
  max-width: 300px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 0.9375rem;
  color: #c1cad6;
  padding: 7px 0;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--gold); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .about .container { gap: 32px; }
  .practice-grid, .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 36px;
    transition: right var(--transition-base);
    box-shadow: -8px 0 30px rgba(0,0,0,0.3);
  }

  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.05rem; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: left;
    padding-top: 140px;
    gap: 30px;
  }

  .hero-content { max-width: 100%; }
  .hero-badge { margin: 0 auto 28px; }
  .hero-description { margin: 0 0 28px; }
  .hero-buttons { justify-content: flex-start; }
  .hero-visual { display: none; }
  .section-title { font-size: 2rem; }

  .about .container { grid-template-columns: 1fr; gap: 36px; }
  .about-content { padding-left: 0; }


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

  .contact .container { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .about-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav-overlay.active { opacity: 1; pointer-events: all; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show { display: block; }

.form-success svg {
  width: 56px;
  height: 56px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 18px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-success p { color: var(--gray); font-size: 1rem; }

/* Active nav link */
.nav-links a.active-link { color: var(--gold); }
.nav-links a.active-link::after { width: 100%; }

/* Readable layouts, keyboard focus and motion preferences. */
section[id] { scroll-margin-top: 96px; }
button, input, select, textarea { font-family: var(--font-body); }
h1, h2, h3, h4 { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid #9c643a; outline-offset: 5px; }
.header :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: var(--gold-lighter); }
.hero .section-label, .practice-banner .section-label, .why-us .section-label, .cta-banner .section-label { color: var(--gold-lighter); }
.why-us .section-subtitle { margin-inline: auto; }
.nav-links a.active-link:not(.nav-cta) { color: var(--gold-lighter); }
.nav-links a.active-link:not(.nav-cta)::after { width: 100%; }
@media (max-width: 1100px) and (min-width: 901px) {
  .nav-links { gap: 16px; }
  .header-logo img { height: 38px; }
  .nav-links a { font-size: 0.875rem; }
}
@media (max-width: 900px) {
  .hero { min-height: 680px; }
  .hero .container { padding-bottom: 100px; }
  .about-image-box img { height: 400px; }
  .about, .why-us, .contact { padding: 64px 0; }
  .practice-banner, .cta-banner { padding: 64px 0; }
  .practice-areas { padding: 48px 0 64px; }
  .why-us .section-header { margin-bottom: 32px; }
  .nav-links { visibility: hidden; transition: right 0.3s ease, visibility 0.3s; }
  .nav-links.active { visibility: visible; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 40px); }
  .header-logo img { height: 38px; }
  .hero { min-height: 640px; }
  .hero-title { font-size: clamp(2rem, 8.5vw, 2.5rem); }
  .hero-overline { font-size: 0.75rem; letter-spacing: 1px; }
  .hero-description { font-size: 1.0625rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .about-image-box img { height: 300px; }
  .contact-form-wrapper, .practice-card, .why-us-card { padding: 24px; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}

[hidden] { display: none !important; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-status { font-size: .9375rem; margin: 12px 0; color: #4d5865; }
.contact-status:empty { display: none; }
.contact-status.is-error { color: #9b2828; }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-success .btn { margin-top: 24px; }
#contact-challenge { margin-top: 16px; }
html { overflow-x: clip; }

/* Seven practice areas: four cards followed by three equally spaced cards. */
@media (min-width: 901px) {
  .practice-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .practice-card { grid-column: span 3; padding: 24px; }
  .practice-card:nth-child(n+5) { grid-column: span 4; }
  .practice-card p { font-size: .9375rem; }
}

/* Persistent contact links; no automatic chat or message submission. */
.contact-dock { position: fixed; right: 18px; bottom: 24px; z-index: 800; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.contact-dock a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 17px; border: 1px solid #dfe4ea; border-radius: 28px; background: #fff; color: #152238; font-size: .875rem; font-weight: 700; box-shadow: 0 4px 18px #0e1a2b18; transition: transform .18s ease, background .18s ease; }
.contact-dock a:hover { transform: translateY(-2px); background: #eef1f4; }
.contact-dock svg { width: 21px; height: 21px; flex-shrink: 0; }
.contact-dock .dock-whatsapp { order: -1; background: #176742; color: #fff; border-color: #176742; }
.contact-dock .dock-whatsapp:hover { background: #105132; }
.menu-open .contact-dock { visibility: hidden; pointer-events: none; }

@media (max-width: 900px) {
  html { scroll-padding-bottom: 92px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .contact-dock { inset: auto 0 0; width: 100%; display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fffffff5; border-top: 1px solid #dde3ea; box-shadow: 0 -4px 20px #0e1a2b0d; backdrop-filter: blur(12px); }
  .contact-dock a { min-width: 0; min-height: 48px; padding: 10px 8px; border-radius: 10px; font-size: .8125rem; box-shadow: none; gap: 6px; }
  .contact-dock .dock-whatsapp { order: 0; }
  .dock-desktop-label { display: none; }
  .form-editing .contact-dock { display: none; }
  .hero { min-height: 0; }
  .hero .container { padding-top: 116px; padding-bottom: 48px; }
  .hero-overline { margin-bottom: 16px; }
  .hero-divider { margin-block: 20px; }
  .hero-description { margin-bottom: 22px; line-height: 1.65; }
  .scroll-indicator { display: none; }
  .about, .why-us, .contact { padding: 40px 0; }
  .practice-banner, .cta-banner { padding: 36px 0; }
  .practice-areas { padding: 28px 0 40px; }
  .section-title { font-size: 1.75rem; margin-bottom: 16px; }
  .section-subtitle { font-size: 1rem; line-height: 1.65; }
  .about .container, .contact .container { gap: 24px; }
  .about-image-box img { height: 250px; }
  .about-text { font-size: 1rem; line-height: 1.75; margin-bottom: 16px; }
  .about-features { gap: 16px; margin-top: 24px; }
  .practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .practice-card { padding: 18px; }
  .practice-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .practice-card-icon { width: 38px; height: 38px; margin-bottom: 12px; }
  .practice-card-icon svg { width: 22px; height: 22px; }
  .practice-card h3 { font-size: 1rem; }
  .practice-card p { font-size: .875rem; line-height: 1.6; }
  .practice-card-arrow { min-height: 44px; }
  .why-us-grid { gap: 12px; }
  .why-us-card { padding: 22px; }
  .contact-form-wrapper { padding: 20px; }
  .contact-detail { gap: 14px; }
  .footer { padding-top: 40px; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.3rem); }
  .hero-description { font-size: 1rem; }
  .hero-buttons { gap: 10px; }
  .hero-buttons .btn { min-height: 48px; padding-block: 12px; }
  .practice-card { padding: 15px; }
  .practice-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .form-row { gap: 0; }
}
@media print { .contact-dock { display: none; } body { padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .contact-dock a { transition: none; } }

/* Compact desktop composition with warm surfaces and softer edges. */
@media (min-width: 901px) {
  body { background: #f8f6f2; }
  .header, .header.scrolled { padding: 10px 0; background: rgba(14, 26, 43, .97); }
  .header .container { min-height: 46px; gap: 24px; }
  .header-logo { flex-shrink: 0; }
  .header-logo img, .header.scrolled .header-logo img { height: 36px; }
  .nav-links { gap: 4px; }
  .nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 13px; border-radius: 999px; font-size: .875rem; white-space: nowrap; }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a.active-link:not(.nav-cta) { background: #ffffff0e; color: #e2bd94; }
  .nav-links .nav-cta { margin-left: 8px; padding: 9px 20px !important; border-radius: 999px !important; }
  .btn { min-height: 46px; padding: 12px 21px; border-radius: 999px; font-size: .9375rem; }
  .btn-primary { background: #d4a574; box-shadow: 0 4px 14px #0e1a2b0c; }
  .btn-primary:hover { background: #e2bd94; }

  .hero { width: calc(100% - 48px); max-width: 1280px; min-height: 480px; margin: 88px auto 0; border-radius: 30px; isolation: isolate; box-shadow: 0 16px 40px #0e1a2b12; }
  .hero .container { width: calc(100% - 88px); padding-block: 48px; }
  .hero-content { max-width: 660px; }
  .hero-overlay { background: linear-gradient(90deg, #0e1a2bf5 0%, #0e1a2bda 44%, #0e1a2b68 100%); }
  .hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 100% 0%, #d4a57426, transparent 55%); border: 1px solid #ffffff12; border-radius: inherit; }
  .hero-overline { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px; border: 1px solid #d4a57442; border-radius: 999px; background: #d4a57410; font-size: .6875rem; letter-spacing: 1.2px; margin-bottom: 20px; }
  .hero-overline::before { content: ''; width: 6px; height: 6px; background: #d4a574; border-radius: 50%; }
  .hero-title { font-size: clamp(2.25rem, 3.2vw, 2.875rem); line-height: 1.16; letter-spacing: -.04em; }
  .hero-title span { color: #e2bd94; }
  .hero-divider { width: 42px; margin-block: 20px; }
  .hero-description { max-width: 53ch; font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }
  .hero-buttons { gap: 10px; }
  .hero-buttons .btn-outline { background: #ffffff08; border-color: #ffffff40; }
  .hero-buttons .btn-outline:hover { background: #ffffff12; }
  .scroll-indicator { display: none; }

  .about, .contact { padding: 56px 0; background: #f8f6f2; }
  .section-title { font-size: clamp(1.75rem, 2.3vw, 2.125rem); margin-bottom: 16px; }
  .section-label { font-size: .6875rem; letter-spacing: 1.3px; margin-bottom: 12px; }
  .section-label::before { width: 24px; }
  .section-subtitle { font-size: 1rem; }
  .about .container { gap: 44px; }
  .about-image-box { border-radius: 24px; }
  .about-image-box img { height: 390px; }
  .about-text { margin-bottom: 14px; line-height: 1.75; }
  .about-features { margin-top: 20px; gap: 10px; }
  .about-feature { padding: 13px; gap: 10px; border-radius: 16px; border-color: #e8e2da; }
  .about-feature-icon { width: 34px; height: 34px; border-radius: 50%; background: #f4e9dd; }
  .about-feature h4 { font-size: .875rem; }
  .about-feature p { font-size: .8125rem; }

  .practice-banner { padding: 42px 0; }
  .practice-banner .section-title, .cta-banner-content .section-title { font-size: 2rem; }
  .practice-areas { padding: 32px 0 56px; background: #f8f6f2; }
  .practice-grid { gap: 16px; }
  .practice-card { border-radius: 20px; border-color: #e6e1d9; padding: 22px; }
  .practice-card::before { display: none; }
  .practice-card:hover { border-color: #c4956a; background: #fffcf7; }
  .practice-card-icon { width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: #f4e9dd; }
  .practice-card-icon svg { width: 23px; height: 23px; stroke: #95603b; }
  .practice-card:nth-child(3n+2) .practice-card-icon { background: #e8eef4; }
  .practice-card:nth-child(3n+2) .practice-card-icon svg { stroke: #47617f; }
  .practice-card:nth-child(3n) .practice-card-icon { background: #e8efe9; }
  .practice-card:nth-child(3n) .practice-card-icon svg { stroke: #4d6c57; }
  .practice-card h3 { font-size: 1.125rem; }
  .why-us { padding: 52px 0; }
  .why-us .section-header { margin-bottom: 28px; }
  .why-us-card { padding: 24px; border-radius: 20px; }
  .why-us-icon { width: 42px; height: 42px; border-radius: 50%; margin-bottom: 16px; }
  .why-us-card h3 { font-size: 1.125rem; }
  .cta-banner { padding: 56px 0; }
  .contact-details { gap: 12px; }
  .contact-detail { border-radius: 18px; border-color: #e6e1d9; }
  .contact-detail-icon { border-radius: 50%; background: #f4e9dd; }
  .contact-form-wrapper { border-radius: 24px; padding: 28px; border-color: #e6e1d9; }
  .form-group input, .form-group select, .form-group textarea { border-radius: 12px; }
  .footer { padding-top: 48px; }
  .footer-grid { padding-bottom: 32px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .header .container { gap: 16px; }
  .nav-links a { padding-inline: 9px; font-size: .8125rem; }
  .nav-links .nav-cta { margin-left: 4px; padding-inline: 14px !important; }
  .hero .container { width: calc(100% - 64px); }
  .about .container { gap: 28px; }
}
