/* ═══════════════════════════════════════════════
   Isaías Felipe Galdino — Advocacia
   Institutional Website Styles
   ═══════════════════════════════════════════════ */

/* ── Reset & Variables ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #1a7a55;
  --blue-deep: #136843;
  --blue-light: #eaf5ef;
  --blue-muted: #c8e6d5;
  --navy: #021910;
  --navy-light: #0a3526;
  --navy-soft: #0d4432;
  --slate: #5a6b63;
  --green: #00d084;
  --green-dark: #00b371;
  --bg-light: #f0f2f1;
  --bg-off: #f7f8f7;
  --white: #ffffff;
  --text: #1a2e24;
  --text-light: #5a6b63;
  --text-faint: #8a958e;
  --gold: #C5C5C5;
  --gold-light: #ededed;
  --border: rgba(2,25,16,0.06);
  --shadow-xs: 0 1px 3px rgba(2,25,16,0.04);
  --shadow: 0px 12px 18px -6px rgba(2,25,16,0.06);
  --shadow-md: 0px 16px 32px -8px rgba(2,25,16,0.10);
  --shadow-lg: 0px 24px 48px -12px rgba(2,25,16,0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1290px;
  --max-w-narrow: 800px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: var(--max-w-narrow); }
.container--mid { max-width: 960px; }

.section {
  padding: 100px 0;
}

.section--gray { background: var(--bg-light); }
.section--dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0b3a28 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section--dark::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,122,85,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Section Headers ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section--dark .section-label { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

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

.section-title em {
  font-style: italic;
  color: var(--blue);
}

.section--dark .section-title em { color: var(--gold); }

.section-sub {
  font-size: 17px;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.7;
}

.section--dark .section-sub { color: rgba(255,255,255,0.6); }

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

.section-header .section-sub { margin: 0 auto; }

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 10px;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  min-height: 48px;
  white-space: nowrap;
}

.btn i { font-size: 18px; }

.btn--whatsapp {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,208,132,0.2);
}

.btn--whatsapp:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,208,132,0.3);
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
}

.btn--blue:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,122,85,0.25);
}

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

.btn--outline-white:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

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

.btn--outline-blue:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--sm {
  font-size: 14px;
  padding: 10px 20px;
  min-height: 40px;
}

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

/* ── Top Bar ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 8px 0;
  letter-spacing: 0.01em;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar a:hover { color: var(--gold); }
.topbar i { color: var(--gold); font-size: 12px; }

.topbar__social {
  display: flex;
  gap: 12px;
}

.topbar__social a { font-size: 14px; }

/* ── Header / Nav ── */
.header {
  background: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}

.header.scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__text strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.logo__text span {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 2px;
}

.footer .logo img {
  height: 56px;
}

.footer .logo__text strong {
  color: var(--white);
}

.footer .logo__text span {
  color: var(--gold);
}

/* Navigation */
.nav { display: flex; align-items: center; gap: 4px; }

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
  position: relative;
}

.nav__link:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.nav__link--active {
  color: var(--blue);
  font-weight: 600;
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__dropdown-trigger i {
  font-size: 10px;
  transition: transform 0.2s;
}

.nav__dropdown:hover .nav__dropdown-trigger i {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s;
  z-index: 100;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
}

.nav__dropdown-item:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.nav__dropdown-item i {
  font-size: 16px;
  color: var(--blue);
  width: 20px;
  text-align: center;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__social {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: 18px;
  transition: all 0.2s;
  border: 1px solid var(--border);
}

.header__social:hover {
  color: var(--blue);
  background: var(--blue-light);
  border-color: var(--blue-muted);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.header__cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,208,132,0.3);
}

/* Mobile Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.hamburger:hover { background: var(--bg-light); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: absolute;
  left: 9px;
  transition: all 0.3s;
  border-radius: 2px;
}

.hamburger span:nth-child(1) { top: 12px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 26px; }

.hamburger.active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) { opacity: 0; }

.hamburger.active span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
}

.mobile-nav.active { display: block; }

.mobile-nav__link {
  display: block;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}

.mobile-nav__link--active { color: var(--blue); }

.mobile-nav__sub {
  padding-left: 20px;
}

.mobile-nav__sub .mobile-nav__link {
  font-size: 15px;
  color: var(--text-light);
}

.mobile-nav__cta {
  margin-top: 24px;
}

/* ── Hero ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0b3a28 100%);
  padding: 80px 0 100px;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,122,85,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197,197,197,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.hero__sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 520px;
}

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

.hero__photo {
  position: relative;
}

.hero__photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 80px;
  position: relative;
}

.hero__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--navy);
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  z-index: 2;
}

.hero__photo-badge i {
  color: var(--gold);
  margin-right: 6px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.hero__trust-item i {
  color: var(--green);
  font-size: 15px;
}

/* ── Hero (Inner Page variation) ── */
.hero--inner {
  padding: 56px 0 64px;
}

.hero--inner h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
}

.hero--inner .hero__sub {
  margin-bottom: 0;
  max-width: 600px;
}

.hero--inner .hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.hero--inner .hero__breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.hero--inner .hero__breadcrumb a:hover { color: var(--gold); }
.hero--inner .hero__breadcrumb i { font-size: 10px; }

/* ── Cards (generic) ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

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

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-muted));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon i { font-size: 22px; color: var(--blue); }

.card__icon--gold {
  background: linear-gradient(135deg, var(--gold-light), #d9d9d9);
}

.card__icon--gold i { color: #8a958e; }

.card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
}

.card--accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--blue);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card--accent:hover::before { height: 100%; }

/* Dark card variant */
.card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.card--dark:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.card--dark h3 { color: var(--white); }
.card--dark p { color: rgba(255,255,255,0.55); }

.card--dark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card--dark:hover::after { transform: scaleX(1); }

/* ── Grid Layouts ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

/* ── Service Detail Card ── */
.service-detail {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
}

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

.service-detail__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-detail__icon i { font-size: 20px; color: var(--blue); }

.service-detail h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.service-detail p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Stats ── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 28px 16px;
}

.stat--card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat--dark {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}

.stat__number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__number span { color: var(--blue); }
.section--dark .stat__number { color: var(--white); }
.section--dark .stat__number span { color: var(--gold); }

.stat__label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.section--dark .stat__label { color: rgba(255,255,255,0.5); }

/* ── Testimonials ── */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 64px;
  color: rgba(26,122,85,0.08);
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}

.testimonial__stars {
  color: #fbbf24;
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial__name {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}

.testimonial__role {
  font-size: 13px;
  color: var(--text-light);
}

/* ── FAQ ── */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item { border-bottom: 1px solid var(--border); }

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
  gap: 16px;
}

.faq__question:hover { color: var(--blue); }

.faq__question i {
  font-size: 13px;
  color: var(--blue);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq__item.active .faq__question i { transform: rotate(45deg); }

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

.faq__item.active .faq__answer {
  max-height: 400px;
  padding-bottom: 22px;
}

.faq__answer p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ── About Image ── */
.about-img {
  position: relative;
}

.about-img__frame {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--bg-light), #dde2df);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: #b8c0bc;
  overflow: hidden;
}

.about-img__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img__accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--gold);
  border-radius: 16px;
  z-index: -1;
}

.about-img__badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.about-img__badge span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

/* ── CTA Banner ── */
.cta-banner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 14px;
}

.cta-banner h2 em {
  font-style: italic;
  color: var(--gold);
}

.cta-banner__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.cta-banner__buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Contact Info Blocks ── */
.contact-block {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-off);
  transition: background 0.2s;
}

.contact-block:hover { background: var(--blue-light); }

.contact-block__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-block__icon i { color: var(--white); font-size: 18px; }

.contact-block h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-block p,
.contact-block a {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

.contact-block a:hover { color: var(--blue); }

/* ── Contact Form ── */
.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d5dbd8;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,122,85,0.1);
}

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Blog Cards ── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.35s;
}

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

.blog-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-light), var(--blue-muted));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 40px;
}

.blog-card__body { padding: 24px; }

.blog-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.blog-card__excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}

.blog-card__meta i { font-size: 12px; }

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
  max-width: 320px;
}

.footer__brand .logo { margin-bottom: 16px; }

.footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
  font-size: 15px;
}

.footer__social a:hover {
  background: var(--blue);
  color: var(--white);
}

.footer h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links li { margin-bottom: 10px; }

.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer__contact-item i {
  color: var(--gold);
  margin-top: 3px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer__bottom a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

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

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 26px;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 998;
  transition: all 0.3s;
  animation: wa-pulse 3s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.08); }
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 68px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--white);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ── Map ── */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

/* ── Highlight List ── */
.highlight-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-off);
  border-radius: 10px;
  transition: background 0.2s;
}

.highlight-item:hover { background: var(--blue-light); }

.highlight-item i {
  color: var(--blue);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

.highlight-item__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.highlight-item__text span {
  display: block;
  font-weight: 400;
  color: var(--text-light);
  font-size: 13px;
  margin-top: 2px;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--gold));
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding-bottom: 32px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}

.timeline__year {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.timeline__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.timeline__desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Page-specific layouts (responsive grids) ── */
.layout-about {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}

.layout-about--sticky {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}

.layout-about--sticky .about-img {
  position: sticky;
  top: 100px;
}

.layout-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.layout-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.layout-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

/* ── Empty State (Blog) ── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-light);
}

.empty-state i {
  font-size: 48px;
  color: var(--blue-muted);
  margin-bottom: 20px;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 15px;
  max-width: 400px;
  margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin: 0 auto 32px; }
  .hero__ctas { justify-content: center; }
  .hero__trust { justify-content: center; flex-wrap: wrap; }
  .hero__photo { max-width: 300px; margin: 40px auto 0; }

  .layout-about { grid-template-columns: 1fr; }
  .layout-about .about-img { max-width: 300px; margin: 0 auto; }

  .layout-about--sticky { grid-template-columns: 1fr; gap: 40px; }
  .layout-about--sticky .about-img {
    position: static;
    max-width: 300px;
    margin: 0 auto;
  }

  .layout-feature { grid-template-columns: 1fr; gap: 40px; }
  .layout-contact { grid-template-columns: 1fr; gap: 40px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav, .header__cta { display: none; }
  .hamburger { display: block; }
  .header__actions { gap: 8px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .layout-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .highlight-list { grid-template-columns: 1fr; }

  .hero { padding: 48px 0 64px; }
  .hero--inner { padding: 36px 0 44px; }

  .hero__badge { font-size: 12px; padding: 5px 12px; }

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

  .btn { width: 100%; justify-content: center; }
  .cta-banner__buttons .btn { width: auto; }

  .topbar { font-size: 12px; }
  .topbar__inner {
    justify-content: center;
    text-align: center;
  }
  .topbar__left, .topbar__right { width: 100%; justify-content: center; }

  /* Service detail cards — stack icon+text vertically on small screens */
  .service-detail { flex-direction: column; gap: 16px; }

  /* About badge — keep inside frame on small screens */
  .about-img__badge { right: 8px; top: 8px; }
  .about-img__accent { display: none; }

  /* Map smaller */
  .map-container iframe { height: 260px; }

  /* Hero inner icon in h1 */
  .hero--inner h1 i { display: none; }

  /* Section header tighter */
  .section-header { margin-bottom: 40px; }

  /* Topbar can hide on tablet if cramped */
  .topbar__left { gap: 12px; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }

  .container { padding: 0 16px; }

  .stat__number { font-size: 28px; }
  .stat { padding: 20px 12px; }
  .stat__label { font-size: 12px; }

  .stats { gap: 12px; }
  .layout-steps { grid-template-columns: 1fr; }

  .cta-banner__buttons { flex-direction: column; align-items: stretch; }
  .cta-banner__buttons .btn { width: 100%; }

  .hero h1 { font-size: 28px; }
  .hero--inner h1 { font-size: 24px; }
  .hero__sub { font-size: 16px; }
  .hero__trust { gap: 12px; flex-direction: column; align-items: center; }

  .section-title { font-size: 24px; }
  .section-sub { font-size: 15px; }

  .testimonial { padding: 24px 20px; }
  .testimonial__text { font-size: 14px; }

  .faq__question { font-size: 15px; padding: 18px 0; }

  .card { padding: 24px 20px; }

  .blog-card__image { height: 160px; }

  .footer { padding: 48px 0 0; }

  /* Long email / urls */
  .contact-block p,
  .contact-block a,
  .footer__contact-item a,
  .footer__contact-item span {
    word-break: break-word;
  }

  /* Hero badge wrap */
  .hero__badge { text-align: center; }

  /* Header tighter */
  .header__inner { height: 60px; }
  .mobile-nav { top: 60px; }
  .logo img { height: 42px; }
  .logo { gap: 8px; }
  .logo__text strong { font-size: 14px; }
  .logo__text span { font-size: 7px; letter-spacing: 1px; }
  .footer .logo img { height: 46px; }

  /* Topbar hide on very small */
  .topbar { display: none; }
}
