:root {
  --navy-950: #071522;
  --navy-900: #0a1e31;
  --navy-800: #123552;
  --blue-700: #175b86;
  --blue-100: #e7f1f8;
  --blue-50: #f3f8fb;
  --ink: #10202e;
  --gray-700: #40505d;
  --gray-500: #6b7883;
  --gray-300: #ccd5dc;
  --gray-200: #e2e8ec;
  --white: #ffffff;
  --yellow: #ffd000;
  --amber: #f6a800;
  --shadow-sm: 0 12px 32px rgba(7, 21, 34, 0.08);
  --shadow-md: 0 24px 60px rgba(7, 21, 34, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.pre-attendance-open {
  overflow: hidden;
}

body::selection {
  background: var(--yellow);
  color: var(--navy-950);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(255, 208, 0, 0.95);
  outline-offset: 3px;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-pad {
  padding: 76px 0;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.04;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy-950);
  font-size: clamp(1.9rem, 4.3vw, 3.1rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy-950);
  font-size: 1.04rem;
  line-height: 1.3;
}

p {
  color: var(--gray-700);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--yellow);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 36px;
}

.section-heading p:last-child {
  max-width: 620px;
  margin-bottom: 0;
}

.section-heading-light h2,
.section-heading-light p {
  color: var(--white);
}

.section-heading-light p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.section-lead {
  font-size: 1.08rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--yellow), var(--amber));
  border: 1px solid rgba(246, 168, 0, 0.42);
  border-radius: 7px;
  color: var(--navy-950);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.25;
  box-shadow: 0 12px 28px rgba(246, 168, 0, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 16px 34px rgba(246, 168, 0, 0.3);
}

.button-small {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.88rem;
}

.button-wide {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-700);
  font-size: 0.9rem;
  font-weight: 800;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link-light {
  color: var(--yellow);
}

svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(204, 213, 220, 0.72);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-950);
  font-size: 1rem;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: #000;
  object-fit: contain;
}

.site-nav {
  position: absolute;
  top: 72px;
  right: 16px;
  left: 16px;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a:not(.button) {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--gray-700);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:not(.button):hover {
  background: var(--blue-50);
  color: var(--navy-950);
}

.menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--navy-950);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(620px, calc(100svh - 140px));
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(5, 19, 32, 0.94) 0%, rgba(7, 29, 48, 0.82) 47%, rgba(7, 29, 48, 0.3) 77%, rgba(7, 29, 48, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 19, 32, 0.36), transparent 44%),
    url("../assets/hero-ibituruna-alpha.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--yellow), var(--amber), transparent 72%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 56px;
  padding-bottom: 60px;
}

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

.hero-lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-button {
  margin-bottom: 30px;
}

.trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  list-style: none;
}

.trust-signals li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.trust-signals svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--yellow);
}

.reviews {
  background: var(--white);
}

.reviews-intro {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.reviews-intro > div {
  max-width: 670px;
}

.reviews-intro h2 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
}

.reviews-intro p:last-child {
  margin-bottom: 0;
}

.rating-summary {
  display: grid;
  min-width: 210px;
  align-content: center;
  justify-items: start;
  padding: 18px 20px;
  background: var(--blue-50);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.rating-summary strong {
  color: var(--navy-950);
  font-size: 2rem;
  line-height: 1;
}

.rating-summary small {
  margin-top: 4px;
  color: var(--gray-500);
  font-weight: 700;
}

.stars {
  color: var(--amber);
  font-size: 0.92rem;
  letter-spacing: 0.07em;
}

.review-rail {
  display: grid;
  grid-auto-columns: minmax(285px, 88%);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-rail::-webkit-scrollbar,
.service-rail::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}

.review-card blockquote {
  min-height: 88px;
  margin: 18px 0 22px;
  color: var(--gray-700);
  font-size: 1rem;
}

.review-card strong,
.review-card small {
  display: block;
}

.review-card strong {
  color: var(--navy-950);
  font-size: 0.94rem;
}

.review-card small {
  margin-top: 2px;
  color: var(--gray-500);
}

.rail-indicators {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}

.rail-indicators button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: var(--gray-300);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.rail-indicators button.is-active {
  width: 24px;
  background: var(--blue-700);
  border-radius: 10px;
}

.segments {
  overflow: hidden;
  background: var(--blue-50);
}

.segment-marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.segment-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 4px 0 18px;
  animation: segment-marquee 48s linear infinite;
}

.segment-marquee:hover .segment-track {
  animation-play-state: paused;
}

.segment-card {
  position: relative;
  width: clamp(230px, 24vw, 330px);
  aspect-ratio: 3 / 2;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.segment-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 21, 34, 0.88), rgba(7, 21, 34, 0.08) 68%);
  content: "";
}

.segment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.segment-card h3 {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  left: 18px;
  margin: 0;
  color: var(--white);
  font-size: 0.98rem;
}

.segment-card:hover img {
  transform: scale(1.035);
}

@keyframes segment-marquee {
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.risks {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 21, 34, 0.98), rgba(18, 53, 82, 0.96)),
    url("../assets/service-electrical-panel.webp") center / cover;
}

.risks::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
}

.risks .container {
  position: relative;
  z-index: 1;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.risk-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 94px;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.risk-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 0.82rem;
}

.icon-surface,
.service-icon,
.process-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--blue-100);
  border-radius: 7px;
  color: var(--blue-700);
}

.risk-card .icon-surface {
  background: rgba(255, 208, 0, 0.13);
  color: var(--yellow);
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.services {
  background: var(--blue-50);
}

.section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-row .section-heading {
  margin-bottom: 0;
}

.rail-controls {
  display: none;
  gap: 8px;
}

.rail-controls button {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  color: var(--navy-950);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.rail-controls button:hover {
  border-color: var(--blue-700);
  color: var(--blue-700);
  transform: translateY(-2px);
}

.service-rail {
  display: grid;
  grid-auto-columns: minmax(290px, 86%);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-image {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--navy-900);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.service-card:hover img {
  transform: scale(1.025);
}

.service-body {
  position: relative;
  min-height: 245px;
  padding: 26px 22px 22px;
}

.service-icon {
  position: absolute;
  top: -23px;
  left: 22px;
  border: 4px solid var(--white);
  background: var(--yellow);
  color: var(--navy-950);
  box-sizing: content-box;
}

.service-body h3 {
  margin-top: 12px;
  font-size: 1.12rem;
}

.service-body p {
  min-height: 72px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.human-trust {
  background: var(--blue-100);
}

.human-grid {
  display: grid;
  gap: 38px;
  align-items: center;
}

.human-intro,
.human-copy {
  max-width: 650px;
}

.human-copy > p {
  margin-bottom: 20px;
}

.benefit-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 30px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.benefit-item span {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  color: var(--blue-700);
}

.benefit-item svg {
  width: 0.95rem;
  height: 0.95rem;
}

.benefit-item p {
  margin: 1px 0 0;
  color: var(--navy-900);
  font-size: 0.94rem;
  font-weight: 700;
}

.human-photo {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.human-photo::before {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36%;
  height: 36%;
  border-top: 3px solid var(--yellow);
  border-right: 3px solid var(--yellow);
  content: "";
}

.human-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.human-photo figcaption {
  position: relative;
  z-index: 2;
  width: calc(100% - 28px);
  padding: 16px 18px;
  margin: -44px auto 0;
  background: var(--navy-950);
  border-left: 4px solid var(--yellow);
  border-radius: 0 6px 6px 0;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.human-photo figcaption strong,
.human-photo figcaption span {
  display: block;
}

.human-photo figcaption span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.process {
  background: var(--white);
}

.process-grid {
  display: grid;
  gap: 0;
}

.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0 16px;
  padding: 0 0 30px;
}

.process-item:not(:last-child)::before {
  position: absolute;
  top: 46px;
  bottom: 0;
  left: 22px;
  width: 1px;
  background: var(--gray-300);
  content: "";
}

.process-number {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--blue-100);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.process-icon {
  grid-row: 1 / span 2;
  background: var(--navy-950);
  color: var(--yellow);
}

.process-item h3 {
  padding-right: 50px;
  margin-bottom: 5px;
}

.process-item p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-section {
  background: var(--navy-900);
}

.contact-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.contact-copy h2,
.contact-copy p {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  list-style: none;
}

.contact-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-copy li svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--yellow);
}

.contact-panel {
  max-width: 450px;
  padding: 28px;
  background: var(--white);
  border-top: 4px solid var(--yellow);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
}

.contact-panel > span,
.contact-panel > strong {
  display: block;
}

.contact-panel > span:not(.contact-icon) {
  margin-top: 18px;
  color: var(--gray-500);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel > strong {
  color: var(--navy-950);
  font-size: 1.65rem;
}

.contact-panel p {
  margin: 14px 0 22px;
  font-size: 0.9rem;
}

.contact-panel > .contact-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: rgba(37, 211, 102, 0.12);
  border-radius: 50%;
  color: #1ca653;
}

.contact-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.faq-section {
  background: var(--blue-50);
}

.faq-grid {
  display: grid;
  gap: 10px 60px;
}

.faq-list {
  border-top: 1px solid var(--gray-300);
}

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

.faq-item h3 {
  margin: 0;
}

.faq-trigger {
  display: grid;
  width: 100%;
  min-height: 64px;
  grid-template-columns: 1fr 32px;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  background: transparent;
  border: 0;
  color: var(--navy-950);
  cursor: pointer;
  text-align: left;
}

.faq-trigger > span:first-child {
  font-size: 0.95rem;
  font-weight: 800;
}

.faq-symbol {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  color: var(--blue-700);
  font-size: 1.2rem;
  transition: transform 180ms ease, background 180ms ease;
}

.faq-trigger[aria-expanded="true"] .faq-symbol {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy-950);
  transform: rotate(45deg);
}

.faq-panel p {
  max-width: 670px;
  padding: 0 44px 20px 0;
  margin: 0;
  font-size: 0.92rem;
}

.final-cta {
  padding: 58px 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 34, 0.97), rgba(18, 53, 82, 0.9)),
    url("../assets/hero-ibituruna-alpha.jpg") center 58% / cover;
}

.final-cta-inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.final-cta h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
}

.final-cta p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 56px 0 28px;
  background: #030a11;
  color: var(--white);
}

.floating-whatsapp {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--white);
  box-shadow: none;
  transition: transform 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.floating-whatsapp svg {
  width: 1.9rem;
  height: 1.9rem;
}

.pre-attendance[hidden] {
  display: none;
}

.pre-attendance {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.pre-attendance-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 17, 0.68);
  opacity: 0;
  transition: opacity 180ms ease;
}

.pre-attendance-sheet {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(720px, calc(100svh - 44px));
  overflow-y: auto;
  padding: 28px;
  background: var(--white);
  border-top: 5px solid var(--yellow);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.pre-attendance.is-open .pre-attendance-backdrop,
.pre-attendance.is-open .pre-attendance-sheet {
  opacity: 1;
}

.pre-attendance.is-open .pre-attendance-sheet {
  transform: none;
}

.pre-attendance-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  color: var(--navy-950);
  cursor: pointer;
}

.pre-attendance-close span {
  font-size: 1.55rem;
  line-height: 1;
}

.pre-attendance-header {
  padding-right: 42px;
}

.pre-attendance-header h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 5vw, 2.15rem);
}

.pre-attendance-header p:not(.eyebrow) {
  max-width: 410px;
  margin-bottom: 16px;
  font-size: 0.94rem;
}

.pre-attendance-progress {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  background: var(--blue-50);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
}

.pre-attendance-body {
  min-height: 250px;
  padding-top: 24px;
}

.pre-attendance-step h3 {
  margin-bottom: 16px;
  font-size: 1.12rem;
}

.pre-attendance-options {
  display: grid;
  gap: 10px;
}

.pre-attendance-option {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: flex-start;
  padding: 13px 14px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 7px;
  color: var(--navy-950);
  cursor: pointer;
  font-weight: 750;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pre-attendance-option:hover {
  border-color: var(--blue-700);
  background: var(--blue-50);
}

.pre-attendance-option.is-selected {
  background: rgba(255, 208, 0, 0.15);
  border-color: var(--amber);
  box-shadow: inset 4px 0 0 var(--yellow);
}

.pre-attendance-field {
  display: grid;
  gap: 8px;
}

.pre-attendance-field span {
  color: var(--navy-950);
  font-size: 0.9rem;
  font-weight: 800;
}

.pre-attendance-field input {
  width: 100%;
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 7px;
  color: var(--navy-950);
  font: inherit;
}

.pre-attendance-field input:focus {
  border-color: var(--blue-700);
  outline: 3px solid rgba(255, 208, 0, 0.72);
  outline-offset: 2px;
}

.pre-attendance-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
}

.pre-attendance-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 7px;
  color: var(--navy-950);
  cursor: pointer;
  font-weight: 800;
}

.pre-attendance-secondary[hidden] {
  display: none;
}

.pre-attendance-next:disabled {
  cursor: not-allowed;
  filter: grayscale(0.5);
  opacity: 0.55;
  transform: none;
}

.pre-attendance-actions:has(.pre-attendance-secondary[hidden]) {
  grid-template-columns: 1fr;
}

.pre-attendance-skip {
  display: inline-flex;
  margin-top: 16px;
  color: var(--gray-500);
  font-size: 0.88rem;
  font-weight: 800;
}

.pre-attendance-skip:hover {
  color: var(--blue-700);
}

.footer-grid {
  display: grid;
  gap: 34px;
}

.brand-light {
  color: var(--white);
}

.footer-brand p {
  max-width: 380px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.footer-column strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span,
.footer-column small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.footer-column a:hover {
  color: var(--yellow);
}

.footer-column small {
  margin-top: 16px;
}

.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-stagger > *:nth-child(2) {
  transition-delay: 70ms;
}

.reveal-stagger > *:nth-child(3) {
  transition-delay: 140ms;
}

.reveal-stagger > *:nth-child(4) {
  transition-delay: 210ms;
}

.reveal-stagger > *:nth-child(5) {
  transition-delay: 280ms;
}

.reveal-stagger > *:nth-child(6) {
  transition-delay: 350ms;
}

.reveal-stagger > *:nth-child(7) {
  transition-delay: 420ms;
}

.reveal-stagger > *:nth-child(8) {
  transition-delay: 490ms;
}

.reveal.is-visible,
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

@media (min-width: 620px) {
  .reviews-intro {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .service-rail {
    grid-auto-columns: minmax(320px, 46%);
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 820px) {
  .section-pad {
    padding: 96px 0;
  }

  .hero-inner {
    padding-top: 66px;
    padding-bottom: 72px;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .review-rail {
    grid-auto-columns: calc((100% - 32px) / 3);
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .risk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rail-controls {
    display: flex;
  }

  .service-rail {
    grid-auto-columns: calc((100% - 36px) / 3);
    padding-bottom: 12px;
  }

  .human-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
    grid-template-rows: auto 1fr;
    gap: 12px 72px;
  }

  .human-intro {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }

  .human-copy {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .human-photo {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
  }

  .process-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .process-item {
    display: block;
    min-height: 244px;
    padding: 22px 18px;
    background: var(--blue-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
  }

  .process-item:not(:last-child)::before {
    display: none;
  }

  .process-number {
    top: 20px;
    right: 18px;
    color: var(--gray-300);
    font-size: 1.55rem;
  }

  .process-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
  }

  .process-item h3 {
    min-height: 50px;
    padding-right: 34px;
    font-size: 0.96rem;
  }

  .process-item p {
    padding-right: 12px;
    font-size: 0.84rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
    gap: 80px;
  }

  .contact-panel {
    justify-self: end;
  }

  .faq-grid {
    grid-template-columns: 0.75fr 1.25fr;
    align-items: start;
  }

  .faq-grid .section-heading {
    position: sticky;
    top: 110px;
  }

  .final-cta-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-grid {
    grid-template-columns: 1.7fr 0.8fr 0.8fr 1fr;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

  .floating-whatsapp {
    display: none;
  }
}

@media (min-width: 1100px) {
  .hero {
    background-position: center 54%;
  }

  .hero-content {
    margin-left: 20px;
  }

}

@media (max-width: 619px) {
  .pre-attendance {
    align-items: end;
    justify-items: stretch;
    padding: 0;
  }

  .pre-attendance-sheet {
    width: 100%;
    max-height: min(86svh, 740px);
    padding: 24px 20px calc(20px + env(safe-area-inset-bottom));
    border-radius: 14px 14px 0 0;
    transform: translateY(100%);
  }

  .pre-attendance-header {
    padding-right: 46px;
  }

  .pre-attendance-body {
    min-height: 300px;
  }

  .pre-attendance-option,
  .pre-attendance-secondary,
  .pre-attendance-next,
  .pre-attendance-field input {
    min-height: 54px;
  }

  .pre-attendance-actions {
    grid-template-columns: 1fr;
  }

  .pre-attendance-secondary {
    order: 2;
  }

  .hero {
    min-height: min(630px, calc(100svh - 118px));
    background-image:
      linear-gradient(90deg, rgba(5, 19, 32, 0.92), rgba(7, 29, 48, 0.62)),
      linear-gradient(0deg, rgba(5, 19, 32, 0.55), transparent 55%),
      url("../assets/hero-ibituruna-alpha.jpg");
    background-position: 60% center;
  }

  .hero-button {
    width: 100%;
  }

  .trust-signals {
    display: grid;
  }

  .rating-summary {
    width: 100%;
  }

  .inline-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-row {
    display: block;
  }

  .human-copy .button {
    width: 100%;
  }

  .contact-panel {
    padding: 24px 20px;
  }

  .final-cta .button {
    width: 100%;
  }
}

@media (max-width: 359px) {
  .risk-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }

  .segment-marquee {
    overflow-x: auto;
    mask-image: none;
    scroll-snap-type: x mandatory;
  }

  .segment-track {
    animation: none;
  }

  .segment-card {
    scroll-snap-align: start;
  }
}
