/**
 * Layout Structure
 * Theme: Pacto 25
 * Modern CSS Grid & Flexbox, clean responsive containers
 */

/* Containers */
.site-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.site-container--narrow {
  max-width: 860px;
}

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

/* Base Section Spacing */
.section {
  position: relative;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.section--no-pt {
  padding-top: 0;
}

.section--no-pb {
  padding-bottom: 0;
}

/* Home Banner Layout (Doctor Pop-out: Circle Mask + Head Over Circle) */
.section-hero {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding-top: clamp(1rem, 3.5vw, 2.5rem);
  padding-bottom: 0;
  min-height: auto;
  display: flex;
  align-items: center;
  z-index: 3;
}

/* Hero Slider Layout & Transitions */
.hero-slider-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-slider-track {
  position: relative;
  width: 100%;
}

.hero-slide {
  display: none;
  width: 100%;
}

.hero-slide.is-active {
  display: block;
  animation: heroSlideFadeIn 0.35s ease-out;
}

@keyframes heroSlideFadeIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-slider-controls {
  margin-top: clamp(1.25rem, 2.5vw, 2.25rem);
}

.section-hero .split-layout {
  align-items: center;
}

.section-hero__content {
  position: relative;
  z-index: 3;
}

.section-hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  width: 100%;
}

.section-hero__image-wrapper {
  position: relative;
  width: min(100%, 680px);
  margin-top: clamp(0.5rem, 1.5vw, 1.5rem);
  margin-left: auto;
}

@media (min-width: 992px) {
  .section-hero .split-layout {
    grid-template-columns: 1fr 1.25fr;
  }

  .section-hero__visual {
    width: auto;
    /* Bleeds over container padding and margin edge on desktop */
    margin-right: calc(-1 * (var(--container-padding) + max(0px, (100vw - var(--container-max-width)) / 2)));
  }

  .section-hero__image-wrapper {
    width: clamp(580px, 48vw, 780px);
    max-width: none;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: clamp(-140px, -9vw, -60px);
  }
}

.section-hero__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Decorative arc peeking from below on Home */
.hero-bottom-arc {
  position: absolute;
  bottom: -340px;
  left: 6%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: clamp(20px, 2.5vw, 32px) solid var(--color-primary);
  pointer-events: none;
  z-index: 1;
}

/* Quem Somos Banner Layout & 5 Red Dots (matching Figma design) */
.section-banner-quem-somos {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 6.5rem);
  min-height: clamp(540px, 75vh, 720px);
  display: flex;
  align-items: center;
}

.qs-dot {
  position: absolute;
  border-radius: 50%;
  background-color: var(--color-primary);
  pointer-events: none;
  z-index: 1;
}

/* 1. Large Left Edge Dot (cut off at screen edge) */
.qs-dot--1 {
  width: clamp(90px, 8vw, 120px);
  height: clamp(90px, 8vw, 120px);
  left: -50px;
  top: 68%;
  transform: translateY(-50%);
}

/* 2. Top Mid Dot (between heading and circle) */
.qs-dot--2 {
  width: clamp(48px, 4vw, 62px);
  height: clamp(48px, 4vw, 62px);
  top: 7%;
  left: 31%;
}

/* 3. Top Dot (near top-left of circle) */
.qs-dot--3 {
  width: clamp(18px, 1.6vw, 24px);
  height: clamp(18px, 1.6vw, 24px);
  top: 13%;
  left: 51%;
}

/* 4. Center Mid Dot (between text and circle) */
.qs-dot--4 {
  width: clamp(46px, 3.8vw, 58px);
  height: clamp(46px, 3.8vw, 58px);
  top: 54%;
  left: 45.5%;
}

/* 5. Lower Mid Dot (below description) */
.qs-dot--5 {
  width: clamp(22px, 2vw, 30px);
  height: clamp(22px, 2vw, 30px);
  top: 71%;
  left: 33.5%;
}

@media (max-width: 991px) {
  .qs-dot--2 {
    left: 88%;
    top: 4%;
  }

  .qs-dot--3 {
    display: none;
  }

  .qs-dot--4 {
    left: 90%;
    top: 48%;
  }

  .qs-dot--5 {
    left: 8%;
    top: 86%;
  }

  .hero-popout-frame,
  .hero-ring-frame {
    margin-right: auto;
    margin-left: auto;
  }
}

/* Quem Somos Circle Composition with Bottom-Right Red Dot */
.qs-circle-composition {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1 / 1;
  margin-left: auto;
  margin-right: auto;
}

.qs-circle-dot {
  position: absolute;
  width: 56%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: var(--color-primary);
  right: -8%;
  bottom: -8%;
  z-index: 1;
  pointer-events: none;
}

.qs-circle-photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.qs-circle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Section: Sobre a Pacto Seguro (About Section matching Figma)
   ========================================================================== */
.section-about {
  position: relative;
  background-color: transparent;
  padding-top: clamp(0.75rem, 2vw, 2rem);
  padding-bottom: clamp(2rem, 3.5vw, 4rem);
  overflow: visible;
  z-index: 1;
}

.section-about__container {
  position: relative;
  z-index: 2;
}

.section-about__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: center;
}

@media (min-width: 992px) {
  .section-about__layout {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.section-about__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-about__image {
  width: 100%;
  max-width: clamp(340px, 44vw, 560px);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.07));
  transition: transform var(--transition-normal);
}

.section-about__image:hover {
  transform: scale(1.02);
}

.section-about__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.section-about__eyebrow {
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}

.section-about__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: #231F20;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(1.25rem, 2vw, 1.75rem);
}

.section-about__desc {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.7;
  color: #4A4A4A;
  max-width: 580px;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

.section-about__desc p {
  margin: 0;
}

.section-about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #231F20;
  color: #FFFFFF;
  padding: 14px 34px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 14px rgba(35, 31, 32, 0.15);
}

.section-about__btn:hover {
  transform: translateY(-2px);
  background-color: #111111;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(35, 31, 32, 0.25);
}

/* Decorative Red Accent Dots (matching Figma composition) */
.section-about__deco-circle {
  position: absolute;
  border-radius: 50%;
  background-color: var(--color-primary);
  pointer-events: none;
  z-index: 1;
}

.section-about__deco-circle--small {
  width: clamp(36px, 4vw, 54px);
  height: clamp(36px, 4vw, 54px);
  right: clamp(10%, 15vw, 22%);
  bottom: clamp(-45px, -4vw, -25px);
}

.section-about__deco-circle--large {
  width: clamp(80px, 9vw, 130px);
  height: clamp(80px, 9vw, 130px);
  right: clamp(28%, 32vw, 42%);
  bottom: clamp(-90px, -8vw, -60px);
}

@media (max-width: 768px) {
  .section-about__deco-circle {
    display: none;
  }
}

/* ==========================================================================
   Section: Prominent Full Circle Red Section (Soluções Globais & Empresas)
   Full circle with container, 2 rows / 4 columns, circle bleeding out of container
   Matching Figma design media_1789137366200.png
   ========================================================================== */
.section-curved-red {
  position: relative;
  background-color: transparent;
  color: var(--color-white);
  margin-top: clamp(-1.5rem, -2.5vw, -3rem);
  padding-top: clamp(8.5rem, 14vw, 17rem);
  padding-bottom: clamp(9.5rem, 15vw, 18rem);
  overflow-x: clip;
  overflow-y: visible;
  z-index: 2;
}

/* The Giant Full Ellipse bleeding out of the container without cutting at top or bottom */
.curved-red-bg-circle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(1350px, 115vw, 1920px);
  height: 100%;
  border-radius: 50%;
  background-color: var(--color-primary);
  pointer-events: none;
  z-index: 1;
}

/* Satellite organic bulges and floating decorative dots positioned relative to the circle */
.curved-red-deco {
  position: absolute;
  border-radius: 50%;
  background-color: var(--color-primary);
  pointer-events: none;
}

/* Attached satellite bulge top right */
.curved-red-deco--top-right {
  top: 2%;
  left: 63%;
  width: clamp(110px, 13vw, 240px);
  aspect-ratio: 1;
}

/* Floating dot top right */
.curved-red-deco--dot-tr {
  top: -4.5%;
  left: 74%;
  width: clamp(34px, 3.8vw, 70px);
  aspect-ratio: 1;
}

/* Attached satellite bulge bottom */
.curved-red-deco--bottom {
  bottom: -3%;
  left: 61%;
  width: clamp(120px, 14vw, 260px);
  aspect-ratio: 1;
}

/* Floating dots bottom left */
.curved-red-deco--dot-bl1 {
  bottom: 1.5%;
  left: 20%;
  width: clamp(34px, 4vw, 75px);
  aspect-ratio: 1;
}

.curved-red-deco--dot-bl2 {
  bottom: -2.5%;
  left: 8.5%;
  width: clamp(20px, 2.4vw, 45px);
  aspect-ratio: 1;
}

@media (max-width: 768px) {
  .curved-red-bg-circle {
    width: 220vw;
    min-width: 640px;
    border-radius: 50%;
  }
  .curved-red-deco {
    display: none;
  }
  .section-curved-red {
    margin-top: -3rem;
    padding: 5rem 0;
  }
}

/* 2 Rows 4 Columns inside Container */
.curved-red__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 8.5rem);
}

/* Headings and descriptions */
.section-curved-red h1,
.section-curved-red h2,
.section-curved-red h3,
.section-curved-red__heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(1.25rem, 2vw, 1.75rem);
}

.section-curved-red__desc {
  font-family: var(--font-body);
  font-size: clamp(13.5px, 0.95vw, 15px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

.section-curved-red__desc p {
  margin: 0 0 1rem;
}

.section-curved-red__desc p:last-child {
  margin-bottom: 0;
}

.section-curved-red__btn-wrap {
  display: flex;
  align-items: center;
}

.section-curved-red__btn-wrap .btn--dark {
  background-color: #231F20;
  color: #FFFFFF;
  border-color: #231F20;
  padding: 13px 32px;
  font-size: clamp(12.5px, 0.9vw, 14px);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

.section-curved-red__btn-wrap .btn--dark:hover {
  background-color: #000000;
  border-color: #000000;
}

/* Row 1: Soluções Globais */
.section-solutions-global {
  position: relative;
}

.section-solutions-global__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}

@media (min-width: 992px) {
  .section-solutions-global__layout {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.section-solutions-global__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.section-solutions-global__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.solutions-cluster-img {
  width: 100%;
  max-width: clamp(380px, 44vw, 680px);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.12));
  transition: transform var(--transition-normal);
}

.solutions-cluster-img:hover {
  transform: scale(1.02);
}

/* Row 2: Soluções para Empresas */
.section-solutions-business {
  position: relative;
}

.section-solutions-business__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}

@media (min-width: 992px) {
  .section-solutions-business__layout {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

@media (max-width: 991px) {
  .section-solutions-business__visual {
    order: 2;
  }
  .section-solutions-business__content {
    order: 1;
  }
}

.section-solutions-business__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.section-solutions-business__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.solutions-hands-frame {
  position: relative;
  width: 100%;
  max-width: clamp(340px, 38vw, 560px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  transition: transform var(--transition-normal);
}

.solutions-hands-frame:hover {
  transform: scale(1.02);
}

.solutions-hands-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Two-Column Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
  }

  .split-layout--reversed> :first-child {
    order: 2;
  }

  .split-layout--reversed> :last-child {
    order: 1;
  }

  .split-layout--40-60 {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .split-layout--60-40 {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Header Structure */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition: all var(--transition-normal);
}

.site-header--scrolled {
  background-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.site-header__branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo-link,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header__logo-img,
.custom-logo {
  max-height: 48px;
  width: auto;
  height: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.site-header__brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}

.site-header__brand-text .text-primary {
  color: var(--color-primary);
}

.site-header__brand-text .badge-25 {
  font-size: 13px;
  font-weight: 600;
  background: var(--color-primary);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 6px;
  line-height: 1.2;
}

.site-header__nav-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__nav-item a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

@media (min-width: 1025px) {
  .site-header__nav-wrapper {
    height: 84px;
  }

  .site-header__nav {
    height: 100%;
  }

  .site-header__nav-list {
    height: 100%;
  }

  .site-header__nav-item {
    height: 100%;
    display: flex;
    align-items: center;
  }

  .site-header__nav-item a {
    height: 100%;
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
  }
}

.site-header__nav-item a:hover,
.site-header__nav-item.current-menu-item a {
  color: var(--color-primary);
}

/* Nav Item Dots & Triggers */
.site-header__nav-item {
  position: static;
}

.site-header__nav-item .nav-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  margin-right: 5px;
  vertical-align: middle;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-fast);
}

.site-header__nav-item--mega:hover .nav-dot,
.site-header__nav-item--mega:focus-within .nav-dot,
.site-header__nav-item--mega.is-active .nav-dot,
.site-header__nav-item.current-menu-item .nav-dot {
  opacity: 1;
  transform: scale(1);
}

.site-header__nav-item--mega:hover>a,
.site-header__nav-item--mega:focus-within>a,
.site-header__nav-item--mega.is-active>a,
.site-header__nav-item.current-menu-item>a {
  color: var(--color-primary);
}

/* Mega Menu Container */
.site-header__mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  padding: clamp(2.5rem, 3.5vw, 3.5rem) 0 clamp(2.5rem, 4vw, 4rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.2s ease;
  pointer-events: none;
  z-index: 999;
}

/* Invisible hover bridge to prevent cursor gap drop */
.site-header__mega-menu::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 30px;
  display: block;
}

/* Desktop Hover & Focus states */
@media (min-width: 1025px) {

  .site-header__nav-item--mega:hover .site-header__mega-menu,
  .site-header__nav-item--mega:focus-within .site-header__mega-menu,
  .site-header__nav-item--mega.is-active .site-header__mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* Mega Menu Grid & Columns */
.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
}

.mega-menu__col {
  display: flex;
  flex-direction: column;
}

/* Column Header - Guarantees 100% pixel baseline alignment across all 4 columns */
.mega-menu__col-header {
  min-height: 24px;
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
}

.mega-menu__col-header .eyebrow {
  margin-bottom: 0;
}

.mega-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mega-menu__link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-dark);
  text-decoration: none;
  line-height: 1.4;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.mega-menu__link:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* Mobile Drawer Mega Menu adjustments */
@media (max-width: 1024px) {
  .site-header__mega-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 10px 0 10px 14px;
    display: none;
    transform: none;
  }

  .site-header__nav-item--mega.is-mobile-open .site-header__mega-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mega-menu__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .mega-menu__col-header--empty {
    display: none;
  }
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.site-header__phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.site-header__phone-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.site-header__phone-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.site-header__mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-dark);
}

@media (max-width: 1024px) {
  .site-header__mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
  }

  .site-header__mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-dark);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }

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

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

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

  .site-header__nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85vw, 380px);
    height: 100vh;
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-normal);
    overflow-y: auto;
  }

  .site-header__nav-wrapper.is-active {
    right: 0;
  }

  .site-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1.25rem;
  }

  .site-header__actions {
    flex-direction: column;
    width: 100%;
    margin-top: 2rem;
    align-items: stretch;
  }
}

/* ==========================================================================
   Footer 2560x1280 Ellipse Canopy Architecture (Exact Figma Spec)
   ========================================================================== */
.site-footer {
  --footer-ellipse-w: max(100vw, 2560px);
  --footer-ellipse-h: max(50vw, 1280px);
  position: relative;
  background-color: transparent;
  color: #FFFFFF;
  overflow: hidden;
  padding-top: clamp(80px, 8.5vw, 140px);
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
  margin-top: clamp(3.5rem, 6vw, 6.5rem);
}

/* Exact geometric 2560 x 1280 ellipse from Figma */
.site-footer__ellipse {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--footer-ellipse-w);
  height: var(--footer-ellipse-h);
  border-radius: 50%;
  background-color: var(--color-primary);
  z-index: 1;
  pointer-events: none;
}

/* Solid red base in case footer extends beyond ellipse equator */
.site-footer::after {
  content: '';
  position: absolute;
  top: calc(var(--footer-ellipse-h) / 2);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-primary);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .site-footer {
    --footer-ellipse-w: clamp(800px, 160vw, 1600px);
    --footer-ellipse-h: clamp(400px, 80vw, 800px);
    padding-top: clamp(60px, 10vw, 100px);
  }
}

@media (max-width: 640px) {
  .site-footer {
    --footer-ellipse-w: clamp(540px, 170vw, 900px);
    --footer-ellipse-h: clamp(270px, 85vw, 450px);
    padding-top: 3.5rem;
  }
}

.site-footer__container {
  max-width: min(94vw, 1380px);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Top Row: Balanced White Brand Logo (Left) & Stacked Social Links (Right) */
.site-footer__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: min(100%, 960px);
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
}

@media (max-width: 768px) {
  .site-footer__top {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }
}

.site-footer__brand {
  display: flex;
  align-items: flex-end;
}

.site-footer__logo-img {
  width: auto;
  height: clamp(48px, 4.5vw, 62px);
  max-width: 240px;
  object-fit: contain;
  display: block;
}

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

@media (max-width: 768px) {
  .site-footer__social-block {
    align-items: center;
  }
}

.site-footer__social-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}

.site-footer__social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  padding: 2px;
}

.site-footer__social-link:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.site-footer__social-link svg {
  width: 22px;
  height: 22px;
}

/* Middle Row: Navigation Links (Left) + Phone Info & Scroll to Top (Right) */
.site-footer__middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
}

@media (max-width: 1100px) {
  .site-footer__middle {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
}

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

.site-footer__nav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 1100px) {
  .site-footer__nav-row {
    justify-content: center;
  }
}

.site-footer__nav-row a {
  font-family: var(--font-body);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity var(--transition-fast);
  white-space: nowrap;
}

.site-footer__nav-row a:hover {
  opacity: 0.8;
}

.site-footer__contact-block {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .site-footer__contact-block {
    flex-direction: column;
    gap: 1.25rem;
  }
}

.site-footer__phone-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-dark);
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
}

.site-footer__phone-btn:hover {
  transform: translateY(-2px);
  background-color: #111111;
  color: #FFFFFF;
}

.site-footer__phone-btn svg {
  width: 16px;
  height: 16px;
}

.site-footer__phone-desc {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .site-footer__phone-desc {
    text-align: center;
  }
}

.site-footer__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .site-footer__actions {
    flex-direction: row;
    gap: 12px;
  }
}

.site-footer__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-dark);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  flex-shrink: 0;
}

.site-footer__action-btn:hover {
  transform: translateY(-2px);
  background-color: #111111;
  color: #FFFFFF;
}

.site-footer__action-btn svg {
  width: 20px;
  height: 20px;
}

/* Bottom Row: Legal Disclaimer & Copyright */
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
}

@media (max-width: 1100px) {
  .site-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
}

.site-footer__legal-text {
  max-width: 760px;
}

.site-footer__legal-text p {
  font-family: var(--font-body);
  font-size: clamp(9px, 0.72vw, 10.5px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.site-footer__legal-text a {
  color: inherit;
  text-decoration: underline;
}

.site-footer__copyright {
  font-family: var(--font-body);
  font-size: clamp(10.5px, 0.8vw, 12px);
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  flex-shrink: 0;
}

.site-footer__copyright a {
  color: #FFFFFF;
  text-decoration: underline;
  transition: opacity var(--transition-fast);
}

.site-footer__copyright a:hover {
  opacity: 0.8;
}