:root {
  --tiffany: #00a6c8;
  --tiffany-dark: #0089ad;
  --tiffany-soft: #e7f8fb;
  --navy: #071f4f;
  --navy-deep: #041436;
  --silver: #f3f6f9;
  --gray: #6b7280;
  --ink: #102033;
  --muted: #5e6b7d;
  --line: #dfe7ef;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 31, 79, .13);
  --content: 1380px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon-sprite symbol, svg use { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--tiffany); outline-offset: 3px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 78px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(223, 231, 239, .9);
  backdrop-filter: blur(12px);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 10px 24px rgba(7, 31, 79, .09); }
.header-inner, .footer-inner, .section-inner, .hero-inner {
  width: min(calc(100% - 64px), var(--content));
  margin-inline: auto;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; color: var(--navy); text-decoration: none; line-height: 1; flex: 0 0 auto; }
.brand img { width: 220px; height: 62px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav > a { position: relative; color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 700; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; background: var(--tiffany); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav > a:not(.nav-cta):hover::after, .main-nav > a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 17px; color: var(--white) !important; background: var(--tiffany-dark); border-radius: 7px; box-shadow: 0 10px 22px rgba(0,166,200,.22); transition: background .2s ease, transform .2s ease; }
.nav-cta:hover { background: var(--navy); transform: translateY(-2px); }
.nav-cta svg { width: 17px; height: 17px; }
.menu-toggle { display: none; width: 42px; height: 42px; place-items: center; padding: 0; color: var(--navy); background: transparent; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.menu-toggle svg { width: 23px; height: 23px; }

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(90deg, var(--navy-deep), var(--navy));
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 78% 68% at 0% 100%, rgba(4,20,54,.98) 0%, rgba(4,20,54,.82) 34%, rgba(4,20,54,.3) 64%, transparent 100%),
    linear-gradient(180deg, rgba(4,20,54,.02) 0%, rgba(4,20,54,.08) 30%, rgba(4,20,54,.22) 44%, rgba(4,20,54,.5) 59%, rgba(4,20,54,.78) 72%, rgba(4,20,54,.94) 85%, var(--navy-deep) 100%);
}
.hero-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: cover;
  -webkit-mask-image: none;
  mask-image: none;
  transition: opacity .55s ease;
}
.hero-photo.is-active { opacity: 1; }
.hero-photo-team { background-image: url("assets/essence-hero-equipe.webp"); background-position: center 36%; }
.hero-photo-pedro { background-image: url("assets/essence-hero-pedro.webp"); background-position: center 25%; }
.hero-photo-alfredo { background-image: url("assets/essence-hero-alfredo.webp"); background-position: center 24%; }
.hero-inner { position: relative; z-index: 1; min-height: inherit; display: flex; align-items: flex-end; padding-block: 48px 54px; }
.hero-slider { width: min(650px, 100%); }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: fade-slide .45s ease both; }
@keyframes fade-slide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { display: inline-flex; align-items: center; color: var(--tiffany); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.eyebrow.dark { color: var(--tiffany-dark); }
.hero h1, .hero h2 { margin: 10px 0; max-width: 620px; font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: 0; }
.hero p { max-width: 600px; margin: 0; color: #d9e6f4; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 19px; border: 2px solid transparent; border-radius: 7px; text-decoration: none; font-size: 14px; font-weight: 800; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button svg { width: 18px; height: 18px; transition: transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:hover svg { transform: translateX(3px); }
.button-primary { color: var(--white); background: var(--tiffany-dark); box-shadow: 0 12px 24px rgba(0,166,200,.26); }
.button-primary:hover { background: var(--tiffany); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.58); background: rgba(255,255,255,.08); }
.button-ghost:hover { border-color: var(--white); background: var(--white); color: var(--navy); }
.hero-controls { display: flex; gap: 9px; margin-top: 24px; }
.hero-controls button { width: 38px; height: 6px; padding: 0; background: rgba(255,255,255,.32); border: 0; border-radius: 999px; cursor: pointer; }
.hero-controls button.is-active { background: var(--tiffany); }

.quick-benefits { position: relative; z-index: 2; padding: 28px 0; background: var(--white); }
.benefit-row { min-height: 150px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: center; }
.benefit-row div { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 8px; color: var(--navy); text-align: center; font-size: 14px; font-weight: 800; line-height: 1.3; }
.benefit-row svg { flex: 0 0 auto; width: 56px; height: 56px; padding: 11px; color: var(--tiffany-dark); border: 1px solid #ccecf2; border-radius: 50%; }

.section { padding: 94px 0; }
.section-heading { max-width: 680px; }
.section-heading.centered { margin: 0 auto 48px; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section h2 { margin: 15px 0 18px; color: var(--navy); font-size: 36px; line-height: 1.15; letter-spacing: 0; }
.section-heading p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }

.tax-reform { color: var(--white); background: var(--navy-deep); }
.reform-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.reform-grid .section-heading { max-width: 820px; }
.tax-reform h2 { color: var(--white); }
.tax-reform .section-heading p { color: #cbd9e8; font-size: 17px; }
.tax-reform .button { width: fit-content; margin-top: 18px; }
.reform-checkpoints { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.reform-checkpoints article { min-width: 0; min-height: 190px; display: flex; flex-direction: column; gap: 12px; padding: 20px 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.17); border-top: 4px solid var(--tiffany); border-radius: 8px; }
.reform-checkpoints article > div { min-width: 0; }
.reform-checkpoints svg { flex: 0 0 auto; width: 38px; height: 38px; color: var(--tiffany); }
.reform-checkpoints h3 { margin: 0 0 8px; color: var(--white); font-size: 19px; line-height: 1.25; overflow-wrap: anywhere; }
.reform-checkpoints p { margin: 0; color: #cbd9e8; font-size: 15px; }

.solutions {
  position: relative;
  isolation: isolate;
  background-image:
    linear-gradient(180deg, rgba(0,166,200,.9), rgba(0,137,173,.82)),
    url("assets/essence-equipe.png");
  background-position: center;
  background-size: cover;
}
.solutions::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(4, 20, 54, .12);
}
.solutions .section-heading h2,
.solutions .section-heading p,
.solutions .eyebrow.dark { color: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service-card {
  min-height: 318px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 30px;
  text-align: center;
  color: var(--white);
  background: #25133d;
  border: 3px solid rgba(255,255,255,.88);
  border-radius: 28px;
  box-shadow: 0 18px 32px rgba(4,20,54,.22);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--white); box-shadow: 0 26px 44px rgba(4,20,54,.28); }
.service-card.featured { background: #25133d; border-color: rgba(255,255,255,.88); }
.service-icon { width: 74px; height: 74px; display: grid; place-items: center; color: var(--white); background: transparent; border-radius: 0; }
.featured .service-icon { color: var(--white); background: transparent; }
.service-icon svg { width: 58px; height: 58px; stroke-width: 2.4; }
.service-card h3 { margin: 24px 0 16px; color: var(--white); font-size: 24px; line-height: 1.2; }
.service-card.featured h3 { color: var(--white); }
.service-card p { margin: 0; color: rgba(255,255,255,.82); font-size: 17px; }
.featured p { color: rgba(255,255,255,.84); }
.service-card a {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px 20px;
  color: var(--white);
  background: var(--tiffany-dark);
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  overflow: hidden;
}
.service-card a:hover { background: var(--tiffany); }
.service-card a svg { flex: 0 0 auto; width: 16px; height: 16px; }
.featured a { color: var(--white); }

.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; max-height: 760px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; border-radius: 8px; box-shadow: var(--shadow); }
.metric-card { position: absolute; left: 26px; bottom: 26px; display: grid; grid-template-columns: repeat(2, minmax(135px, 1fr)); gap: 1px; margin: 0; overflow: hidden; background: rgba(255,255,255,.94); border-radius: 8px; box-shadow: 0 14px 38px rgba(7,31,79,.18); }
.metric-card div { padding: 20px; }
.metric-card dt { color: var(--tiffany-dark); font-size: 34px; line-height: 1; font-weight: 800; }
.metric-card dd { margin: 8px 0 0; color: var(--navy); font-size: 13px; font-weight: 800; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 24px 0 0; list-style: none; }
.check-list li { display: flex; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 700; }
.check-list svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--tiffany-dark); margin-top: 3px; }

.authority-band { padding: 34px 0; color: var(--white); background: var(--tiffany-dark); }
.authority-list { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 0; }
.authority-list div { min-height: 104px; display: grid; align-content: center; padding: 12px 28px; border-right: 1px solid rgba(255,255,255,.24); }
.authority-list div:last-child { border-right: 0; }
.authority-list dt { font-size: 32px; line-height: 1.1; font-weight: 800; }
.authority-list dd { margin: 8px 0 0; color: #e7f8fb; font-size: 14px; font-weight: 600; }

.purpose { background: linear-gradient(180deg, #f8fbfd, #ffffff); }
.purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.purpose-card { min-height: 310px; display: grid; justify-items: center; align-content: start; padding: 18px 20px; text-align: center; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.purpose-icon { width: 116px; height: 116px; display: grid; place-items: center; color: var(--tiffany); background: #25133d; border: 2px solid var(--tiffany-dark); border-radius: 50%; }
.purpose-icon svg { width: 52px; height: 52px; stroke-width: 2.2; }
.purpose-card h3 { max-width: 360px; margin: 24px 0 22px; color: var(--navy); font-size: 29px; line-height: 1.15; font-weight: 500; }
.purpose-card h3::after { content: ""; display: block; width: 92px; height: 1px; margin: 20px auto 0; background: var(--gray); }
.purpose-card p { max-width: 380px; margin: 0; color: var(--ink); font-size: 18px; }

.sectors { color: var(--white); background: var(--navy); }
.sectors h2 { color: var(--white); }
.sectors .section-heading p { color: #d4e1ef; }
.sectors-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.sectors-grid .section-heading { max-width: 820px; }
.sector-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.sector-list span { min-width: 0; min-height: 82px; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-left: 4px solid var(--tiffany); border-radius: 8px; font-weight: 800; overflow-wrap: anywhere; }
.sector-list svg { flex: 0 0 auto; width: 34px; height: 34px; color: var(--tiffany); stroke-width: 2.1; }

.testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: start; }
.trust-area { display: grid; gap: 18px; }
.logo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.logo-strip span { min-width: 0; min-height: 72px; display: grid; place-items: center; padding: 8px; color: var(--navy); background: var(--silver); border: 1px solid var(--line); border-radius: 7px; text-align: center; font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.testimonial-slider { position: relative; min-height: 245px; padding: 34px; background: var(--navy); color: var(--white); border-radius: 8px; overflow: hidden; }
.testimonial-slider::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--tiffany); }
.testimonial { display: none; position: relative; z-index: 1; }
.testimonial.is-active { display: block; }
.testimonial p { margin: 0 0 24px; color: #e8f2fb; font-size: 24px; line-height: 1.35; font-weight: 700; }
.testimonial strong { display: block; color: var(--tiffany); }
.testimonial span { color: #bfd0e2; font-size: 13px; }
.testimonial-controls { display: flex; gap: 8px; margin-top: 24px; }
.testimonial-controls button { width: 34px; height: 7px; padding: 0; background: rgba(255,255,255,.28); border: 0; border-radius: 5px; cursor: pointer; }
.testimonial-controls button.is-active { background: var(--tiffany); }

.contact { background: var(--tiffany-soft); }
.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 78px; align-items: center; }
.contact-list { display: grid; gap: 12px; margin-top: 26px; }
.contact-list span { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.contact-list svg { flex: 0 0 auto; width: 19px; height: 19px; color: var(--tiffany-dark); }
.contact-form { padding: 32px; color: var(--ink); background: var(--white); border-top: 5px solid var(--tiffany); border-radius: 8px; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 6px; margin-bottom: 16px; color: var(--navy); font-size: 14px; font-weight: 800; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: #fbfdfe; border: 1px solid #cbd9e6; border-radius: 5px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--tiffany-dark); outline: 2px solid #cceff5; outline-offset: 0; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .button { width: 100%; border: 0; }
.contact-form .button:disabled { cursor: wait; opacity: .72; transform: none; }
.form-status { min-height: 20px; margin: 10px 0 0; color: var(--tiffany-dark); font-size: 13px; font-weight: 800; }
.form-status[data-type="error"] { color: #b42318; }

.location { padding: 88px 0; background: var(--white); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.map-card { position: relative; min-height: 380px; overflow: hidden; background: var(--silver); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.map-card iframe { width: 100%; height: 380px; border: 0; }
.map-link { position: absolute; right: 16px; bottom: 16px; padding: 11px 15px; color: var(--white); background: var(--tiffany-dark); border-radius: 7px; text-decoration: none; font-size: 13px; font-weight: 800; box-shadow: 0 12px 26px rgba(7,31,79,.22); }
.map-link:hover { background: var(--navy); }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; color: var(--tiffany-dark); text-decoration: none; font-size: 15px; font-weight: 800; }
.text-link svg { width: 18px; height: 18px; }
.whatsapp-location-link {
  min-height: 54px;
  margin-top: 28px;
  padding: 13px 22px;
  color: var(--navy);
  background: #26d366;
  border: 2px solid #071020;
  border-radius: 7px;
  box-shadow: 0 12px 24px rgba(7, 31, 79, .16);
}
.whatsapp-location-link:hover {
  color: var(--white);
  background: var(--navy);
}

.service-page .site-header { position: sticky; }
.service-hero {
  padding: 86px 0 78px;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(4,20,54,.98), rgba(7,31,79,.86), rgba(0,166,200,.4)),
    url("assets/essence-hero-equipe.webp");
  background-position: center 38%;
  background-size: cover;
}
.service-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 70px; align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; color: #d9e6f4; font-size: 14px; font-weight: 700; }
.breadcrumb a { color: var(--tiffany); text-decoration: none; }
.breadcrumb strong { color: var(--white); }
.service-hero h1 { max-width: 780px; margin: 16px 0; font-size: 46px; line-height: 1.07; letter-spacing: 0; }
.service-hero p { max-width: 670px; margin: 0; color: #d9e6f4; font-size: 18px; }
.service-hero-card {
  min-height: 320px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 34px;
  color: var(--white);
  text-align: center;
  background: rgba(37,19,61,.94);
  border: 3px solid rgba(255,255,255,.88);
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(0,0,0,.24);
}
.service-hero-card .service-icon { color: var(--white); }
.service-hero-card strong { font-size: 24px; }
.service-hero-card span { color: var(--tiffany); font-weight: 800; }
.service-hero-card p { color: rgba(255,255,255,.82); font-size: 16px; }
.service-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 70px; align-items: start; }
.service-copy p { max-width: 780px; margin: 0 0 16px; color: var(--muted); font-size: 18px; }
.service-sidebox {
  position: sticky;
  top: 104px;
  padding: 28px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.service-sidebox h2 { margin: 0 0 10px; color: var(--white); font-size: 24px; line-height: 1.2; }
.service-sidebox p { margin: 0 0 20px; color: #d9e6f4; }
.service-offer { background: var(--silver); }
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.offer-item { min-height: 180px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.offer-item span { color: var(--tiffany-dark); font-size: 13px; font-weight: 800; }
.offer-item p { margin: 18px 0 0; color: var(--navy); font-size: 16px; font-weight: 700; }
.advantages { background: var(--white); }
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.advantage-card { min-height: 220px; padding: 26px; color: var(--white); background: #25133d; border: 3px solid rgba(0,166,200,.42); border-radius: 24px; }
.advantage-card h3 { margin: 0 0 14px; color: var(--white); font-size: 22px; line-height: 1.2; }
.advantage-card p { margin: 0; color: rgba(255,255,255,.82); font-size: 16px; }
.faq { background: linear-gradient(180deg, #f8fbfd, #ffffff); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px rgba(7,31,79,.06); }
.faq-list summary { cursor: pointer; padding: 20px 22px; color: var(--navy); font-size: 18px; font-weight: 800; }
.faq-list summary::marker { color: var(--tiffany-dark); }
.faq-list p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: 16px; }
.home-faq .section-heading { position: sticky; top: 110px; }

.floating-whatsapp {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  min-height: 52px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  color: #071020;
  background: #26d366;
  border: 2px solid #071020;
  border-radius: 7px;
  box-shadow: 0 14px 30px rgba(4,20,54,.28);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: opacity .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}
.floating-whatsapp:hover { color: var(--white); background: var(--navy); }
.floating-whatsapp svg { width: 21px; height: 21px; }
.floating-whatsapp.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }

.site-footer { padding: 42px 0 26px; color: #d5e1ee; background: var(--navy-deep); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 28px 64px; align-items: center; }
.footer-brand img { width: 210px; height: 68px; padding: 4px 8px; background: var(--white); border-radius: 7px; mix-blend-mode: normal; }
.footer-links h2 { margin: 0 0 8px; color: var(--white); font-size: 20px; }
.footer-links p { max-width: 690px; margin: 0; color: #bfd0e2; font-size: 14px; }
.footer-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: 12px; }
.footer-meta span { margin-right: auto; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--tiffany); }
.developer-credit { color: var(--white); font-weight: 800; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .brand img { width: 190px; }
  .main-nav { gap: 16px; }
  .main-nav > a { font-size: 13px; }
  .hero-slider { width: min(620px, 100%); }
  .hero h1, .hero h2 { font-size: 30px; }
  .services-grid, .reform-checkpoints, .sector-list, .logo-strip, .offer-grid, .advantages-grid, .authority-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reform-checkpoints article { flex-direction: column; }
  .authority-list div:nth-child(3n) { border-right: 0; }
  .authority-list div:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.24); }
}

@media (max-width: 900px) {
  .site-header { height: 70px; }
  .brand img { width: 176px; height: 56px; }
  .menu-toggle { display: grid; }
  .main-nav { position: fixed; inset: 70px 0 auto; display: grid; gap: 0; padding: 16px 24px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.12); transform: translateY(-130%); transition: transform .25s ease; }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav > a { padding: 14px 2px; font-size: 14px; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { justify-content: center; margin-top: 8px; }
  .hero { min-height: max(calc(100svh - 70px), 680px); }
  .hero-media::after {
    background:
      radial-gradient(ellipse 110% 58% at 50% 100%, rgba(4,20,54,.98) 0%, rgba(4,20,54,.72) 48%, transparent 100%),
      linear-gradient(180deg, rgba(4,20,54,.02) 0%, rgba(4,20,54,.08) 28%, rgba(4,20,54,.2) 38%, rgba(4,20,54,.5) 50%, rgba(4,20,54,.82) 63%, rgba(4,20,54,.97) 77%, var(--navy-deep) 100%);
  }
  .hero-photo { background-position: center top; background-size: 100% auto; }
  .hero-photo-team { background-size: auto 60%; }
  .hero-inner { align-items: flex-end; padding-block: 32px; }
  .hero-slider { width: min(620px, 100%); }
  .hero h1, .hero h2 { max-width: 600px; font-size: 28px; line-height: 1.1; }
  .hero p { max-width: 580px; font-size: 16px; }
  .hero-actions { margin-top: 18px; }
  .hero-controls { margin-top: 18px; }
  .sectors-grid, .testimonials-grid, .contact-grid, .location-grid, .service-hero-grid, .service-content-grid, .faq-grid, .reform-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
  .purpose-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .service-sidebox { position: static; }
  .service-hero h1 { font-size: 38px; }
}

@media (max-width: 680px) {
  .header-inner, .footer-inner, .section-inner, .hero-inner { width: min(calc(100% - 32px), var(--content)); }
  .hero-inner { padding-block: 28px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(4,20,54,.02) 0%, rgba(4,20,54,.12) 36%, rgba(4,20,54,.82) 54%, rgba(4,20,54,.99) 72%, rgba(4,20,54,1) 100%); }
  .hero-photo-pedro,
  .hero-photo-alfredo {
    background-position: center top;
    background-size: cover;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0,0,0,.84) 48%, rgba(0,0,0,.42) 59%, transparent 73%);
    mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0,0,0,.84) 48%, rgba(0,0,0,.42) 59%, transparent 73%);
  }
  .hero h1, .hero h2 { margin-block: 9px; font-size: 24px; line-height: 1.12; }
  .hero p { font-size: 14px; line-height: 1.5; }
  .hero .eyebrow { font-size: 11px; }
  .hero-actions { display: grid; }
  .hero-actions .button { min-height: 43px; padding: 9px 14px; font-size: 13px; }
  .hero-controls { margin-top: 16px; }
  .button { width: 100%; }
  .section { padding: 68px 0; }
  .section h2 { font-size: 28px; }
  .section-heading.centered { text-align: left; }
  .section-heading.centered .eyebrow { justify-content: flex-start; }
  .services-grid, .sector-list, .logo-strip, .offer-grid, .advantages-grid, .reform-checkpoints, .authority-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tax-reform .button { width: 100%; }
  .authority-list div { min-height: 118px; padding: 14px 12px; border-right: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); }
  .authority-list div:nth-child(2n) { border-right: 0; }
  .authority-list div:nth-last-child(-n+2) { border-bottom: 0; }
  .authority-list dt { font-size: 26px; }
  .authority-list dd { font-size: 12px; }
  .quick-benefits { padding: 18px 0; }
  .benefit-row { min-height: 158px; gap: 6px; }
  .benefit-row div { gap: 8px; padding: 4px 2px; font-size: 12px; line-height: 1.25; }
  .benefit-row svg { width: 48px; height: 48px; padding: 9px; }
  .service-card { min-height: auto; padding: 20px 12px; border-radius: 18px; }
  .service-icon { width: 52px; height: 52px; }
  .service-icon svg { width: 42px; height: 42px; }
  .service-card h3 { margin: 12px 0 10px; font-size: 16px; overflow-wrap: anywhere; }
  .service-card p { margin-bottom: 14px; font-size: 13px; line-height: 1.45; }
  .service-card a { align-self: stretch; width: auto; max-width: 100%; min-width: 0; padding: 10px 4px; gap: 5px; white-space: nowrap; font-size: 12px; }
  .reform-checkpoints article { min-height: 190px; gap: 10px; padding: 16px 14px; }
  .reform-checkpoints svg { width: 30px; height: 30px; }
  .reform-checkpoints h3 { font-size: 16px; }
  .reform-checkpoints p { font-size: 13px; }
  .sector-list span { min-height: 112px; flex-direction: column; justify-content: center; gap: 8px; padding: 12px 8px; text-align: center; font-size: 13px; line-height: 1.3; }
  .sector-list svg { width: 30px; height: 30px; }
  .logo-strip span { min-height: 64px; padding: 8px; text-align: center; font-size: 12px; }
  .offer-item { min-height: 158px; padding: 16px 14px; }
  .offer-item p { margin-top: 12px; font-size: 14px; line-height: 1.4; }
  .advantage-card { min-height: 190px; padding: 17px 14px; border-radius: 18px; }
  .advantage-card h3 { font-size: 17px; overflow-wrap: anywhere; }
  .advantage-card p { font-size: 13px; line-height: 1.45; }
  .about-grid { grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: 12px; align-items: start; }
  .about-image img { height: clamp(220px, 52vw, 420px); max-height: none; aspect-ratio: auto; object-position: center top; }
  .about .section-heading h2 { margin: 8px 0 10px; font-size: 20px; line-height: 1.18; }
  .about .section-heading p { margin-bottom: 8px; font-size: 12px; line-height: 1.45; }
  .about .eyebrow { font-size: 10px; }
  .about .check-list { gap: 7px; margin-top: 12px; }
  .about .check-list li { gap: 5px; font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
  .about .check-list svg { width: 14px; height: 14px; margin-top: 1px; }
  .purpose-grid { gap: 10px; }
  .purpose-card { min-width: 0; min-height: auto; padding: 10px 4px; overflow: hidden; }
  .purpose-card:not(:last-child) { border-right: 1px solid var(--line); }
  .purpose-icon { width: 70px; height: 70px; }
  .purpose-icon svg { width: 32px; height: 32px; }
  .purpose-card h3 { width: 100%; max-width: 100%; margin: 14px 0 12px; font-size: 11px; line-height: 1.3; overflow-wrap: normal; word-break: normal; hyphens: none; }
  .purpose-card h3::after { width: 48px; margin-top: 12px; }
  .purpose-card p { width: 100%; max-width: 100%; font-size: 10.5px; line-height: 1.45; overflow-wrap: normal; hyphens: none; }
  .service-hero { padding: 58px 0; }
  .service-hero h1 { font-size: 30px; }
  .service-hero-card { min-height: auto; border-radius: 22px; }
  .metric-card { position: static; grid-template-columns: 1fr 1fr; margin-top: 12px; }
  .testimonial p { font-size: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form, .testimonial-slider { padding: 22px 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta span { width: 100%; }
  .map-card, .map-card iframe { min-height: 340px; height: 340px; }
  .home-faq .section-heading { position: static; }
  .floating-whatsapp { right: 16px; bottom: 16px; width: 52px; display: inline-flex; padding: 0; justify-content: center; border-radius: 50%; }
  .floating-whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (min-width: 901px) {
  .hero-media::after {
    background:
      linear-gradient(90deg, var(--navy-deep) 0%, rgba(4,20,54,.99) 27%, rgba(4,20,54,.9) 39%, rgba(4,20,54,.62) 52%, rgba(4,20,54,.24) 68%, transparent 84%),
      linear-gradient(180deg, transparent 52%, rgba(4,20,54,.18) 72%, rgba(4,20,54,.58) 100%);
  }
  .hero-photo {
    background-position: right center;
    background-size: auto 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, rgba(0,0,0,.08) 38%, rgba(0,0,0,.42) 48%, rgba(0,0,0,.78) 58%, #000 68%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, rgba(0,0,0,.08) 38%, rgba(0,0,0,.42) 48%, rgba(0,0,0,.78) 58%, #000 68%, #000 100%);
  }
  .hero-photo-pedro,
  .hero-photo-alfredo {
    background-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, rgba(0,0,0,.08) 38%, rgba(0,0,0,.42) 48%, rgba(0,0,0,.78) 58%, #000 68%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, rgba(0,0,0,.08) 38%, rgba(0,0,0,.42) 48%, rgba(0,0,0,.78) 58%, #000 68%, #000 100%);
  }
  .hero-inner { align-items: center; padding-block: 48px; }
  .hero-slider { width: min(430px, 38%); }
  .hero h1, .hero h2 { max-width: 430px; font-size: 24px; line-height: 1.18; }
  .hero p { max-width: 420px; font-size: 14px; line-height: 1.55; }
  .hero-actions { margin-top: 18px; }
  .hero-controls { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
