/* ==========================================================================
   ASISTE – Business Services
   Design tokens
   ========================================================================== */
:root {
  --red-600: #e40404;
  --red-700: #c00303;
  --red-50: #fdecec;
  --navy-900: #14133b;
  --navy-800: #1e1c55;
  --navy-700: #07027f;
  --navy-50: #eef0fa;
  --ink: #1b1d2a;
  --muted: #4a4f63;
  --line: #e2e4ee;
  --surface: #ffffff;
  --surface-alt: #f5f6fb;
  --whatsapp: #128c4a;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Montserrat", "Inter", system-ui, sans-serif;

  --fs-xs: clamp(0.78rem, 0.75rem + 0.15vw, 0.85rem);
  --fs-sm: clamp(0.9rem, 0.86rem + 0.2vw, 0.97rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lg: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 2vw, 2.75rem);
  --fs-h1: clamp(2rem, 1.3rem + 3.6vw, 4rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --section-y: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --container: 1200px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 19, 59, 0.06), 0 2px 6px rgba(20, 19, 59, 0.05);
  --shadow: 0 6px 18px rgba(20, 19, 59, 0.08), 0 2px 6px rgba(20, 19, 59, 0.05);
  --shadow-lg: 0 18px 40px rgba(20, 19, 59, 0.14);

  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --focus: 0 0 0 3px #ffffff, 0 0 0 6px var(--navy-700);
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy-900);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }

p {
  margin: 0 0 var(--space-4);
}

a {
  color: var(--navy-700);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red-700);
}

ul {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-5);
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: var(--space-4);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red-700);
  color: #fff;
  box-shadow: 0 6px 16px rgba(192, 3, 3, 0.25);
}

.btn-primary:hover {
  background: #a30202;
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--navy-900);
}

.btn-light {
  background: #fff;
  color: var(--navy-900);
}

.btn-light:hover {
  background: var(--red-50);
  color: var(--red-700);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #0d6e3a;
  color: #fff;
}

.btn-sm {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(20, 19, 59, 0.08);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 48px;
}

.brand img {
  width: auto;
  height: 56px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.primary-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy-900);
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0.9rem;
  bottom: 8px;
  height: 3px;
  border-radius: 3px;
  background: var(--red-600);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--red-700);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.header-actions > .lang-switch,
.header-cta {
  display: none;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 0 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-decoration: none;
  color: var(--navy-900);
}

.lang-switch a.is-active {
  background: var(--navy-900);
  color: #fff;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

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

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

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

.mobile-drawer {
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-list {
  list-style: none;
  padding: var(--space-3) var(--gutter);
}

.drawer-list li + li {
  border-top: 1px solid var(--line);
}

.drawer-list .nav-link {
  display: flex;
  width: 100%;
  min-height: 56px;
  padding: 0 var(--space-2);
}

.drawer-list .nav-link::after {
  inset-inline: var(--space-2) auto;
  width: 28px;
  bottom: 10px;
}

.drawer-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--gutter) var(--space-6);
}

.drawer-footer .btn {
  flex: 1 1 200px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(88vh, 820px);
  padding-block: clamp(4rem, 3rem + 6vw, 8rem);
  color: #fff;
}

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 19, 59, 0.94) 0%, rgba(20, 19, 59, 0.82) 45%, rgba(20, 19, 59, 0.45) 100%);
}

.hero-content {
  position: relative;
}

.hero h1 {
  color: #fff;
  max-width: 17ch;
}

.hero-lead {
  max-width: 56ch;
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
  list-style: none;
}

.hero-badges li {
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.scroll-cue {
  position: absolute;
  inset-inline-start: 50%;
  bottom: var(--space-5);
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-inline-start: -24px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill);
  color: #fff;
  animation: cue 2.2s var(--ease) infinite;
}

.scroll-cue:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

@keyframes cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding-block: var(--section-y);
}

.section-alt {
  background: var(--surface-alt);
}

.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-7);
  text-align: center;
}

.section-intro {
  color: var(--muted);
  font-size: var(--fs-lg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-700);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}

.eyebrow-light {
  color: #ffb3b3;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  list-style: none;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(228, 4, 4, 0.35);
  box-shadow: var(--shadow-lg);
}

.service-card > p {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-4);
  border-radius: 16px;
  background: var(--red-50);
  color: var(--red-700);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon-img img {
  width: 30px;
  height: 30px;
  aspect-ratio: 1;
  object-fit: contain;
  filter: invert(12%) sepia(97%) saturate(6000%) hue-rotate(356deg) brightness(82%) contrast(110%);
}

.check-list {
  display: grid;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-3);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-inline-start: 1.75rem;
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.3em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%2307027f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.service-card-cta {
  justify-content: center;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-700));
  border-color: transparent;
  color: #fff;
}

.service-card-cta h3 {
  color: #fff;
}

.service-card-cta > p {
  color: rgba(255, 255, 255, 0.88);
}

.service-card-cta .btn {
  align-self: flex-start;
}

/* About */
.about {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-y);
}

.about-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 59, 0.8);
}

.about-card {
  max-width: 680px;
  padding: clamp(1.5rem, 1rem + 3vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(20, 19, 59, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
}

.about-card h2 {
  color: #fff;
}

.about-lead {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #fff;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin: var(--space-5) 0 var(--space-6);
  list-style: none;
}

.about-points li {
  min-width: 0;
  padding: var(--space-4);
  border-inline-start: 3px solid var(--red-600);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
}

.about-points strong {
  display: block;
  font-family: var(--font-display);
  color: #fff;
}

.about-points span {
  font-size: var(--fs-sm);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 880px;
  margin-inline: auto;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
  padding: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.price-head {
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
}

.price-head h3 {
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price {
  display: flex;
  align-items: flex-start;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2rem + 3vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--red-700);
}

.price-currency {
  font-size: 0.5em;
  margin-top: 0.2em;
  margin-inline-end: 0.1em;
}

.price-card .check-list {
  margin-top: 0;
  padding-top: 0;
}

.price-card .btn {
  margin-top: auto;
}

.price-card-featured {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-800));
  border-color: transparent;
  color: #fff;
}

.price-card-featured h3,
.price-card-featured .price,
.price-card-featured .check-list li {
  color: #fff;
}

.price-card-featured .price-head {
  border-color: rgba(255, 255, 255, 0.18);
}

.price-card-featured .check-list li::before {
  background-color: rgba(255, 255, 255, 0.92);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}

.contact-info,
.form-card {
  min-width: 0;
}

.contact-info > p {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-list li > div {
  min-width: 0;
}

.contact-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--navy-50);
  color: var(--navy-700);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a {
  display: inline-block;
  padding-block: 0.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--red-700);
  text-decoration: underline;
}

.hours {
  display: grid;
  gap: 2px;
  margin: var(--space-1) 0 0;
  font-size: var(--fs-sm);
}

.hours div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-3);
}

.hours dt {
  min-width: 9.5rem;
  font-weight: 600;
  color: var(--navy-900);
}

.hours dd {
  margin: 0;
  color: var(--muted);
}

.form-card {
  padding: clamp(1.25rem, 0.9rem + 2vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.form-title {
  margin-bottom: var(--space-2);
}

.form-note {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: var(--space-4);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.field {
  display: grid;
  gap: var(--space-1);
  min-width: 0;
}

.field label {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--navy-900);
}

.req {
  color: var(--red-700);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border: 1.5px solid #c9ccd9;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field select {
  appearance: none;
  padding-inline-end: 2.75rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2314133b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center / 18px;
}

[dir="rtl"] .field select {
  background-position: left 1rem center;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6b7085;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(7, 2, 127, 0.15);
}

.field [aria-invalid="true"] {
  border-color: var(--red-700);
}

.field-error {
  min-height: 0;
  margin: 0;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--red-700);
}

.field-error:empty {
  display: none;
}

.form-status {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-700);
}

.form-status:empty {
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}

.footer-grid > * {
  min-width: 0;
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  background: #fff;
}

.footer-logo img {
  width: 150px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.footer-brand p {
  max-width: 38ch;
}

.footer-title {
  margin-bottom: var(--space-4);
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col li a,
.footer-col address a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer address {
  font-style: normal;
  line-height: 1.5;
}

.footer-hours {
  margin-top: var(--space-4);
}

.social-list {
  display: flex;
  gap: var(--space-2);
  list-style: none;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.social-list a:hover {
  background: var(--red-700);
  border-color: var(--red-700);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-5);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  text-decoration: underline;
}

/* ==========================================================================
   Floating buttons
   ========================================================================== */
.back-to-top,
.whatsapp-float {
  position: fixed;
  inset-inline-end: clamp(0.75rem, 0.5rem + 1vw, 1.5rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), background-color 0.2s var(--ease);
}

.back-to-top {
  bottom: clamp(0.75rem, 0.5rem + 1vw, 1.5rem);
  background: var(--navy-900);
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--red-700);
}

.whatsapp-float {
  bottom: calc(clamp(0.75rem, 0.5rem + 1vw, 1.5rem) + 64px);
  background: var(--whatsapp);
  color: #fff;
}

.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.06);
}

/* ==========================================================================
   Breakpoints (mobile-first)
   ========================================================================== */
@media (min-width: 480px) {
  .about-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .header-actions > .lang-switch {
    display: inline-flex;
  }

  .scroll-cue {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 84px;
  }

  .brand img {
    height: 64px;
  }

  .primary-nav {
    display: block;
  }

  .menu-toggle,
  .mobile-drawer {
    display: none !important;
  }

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

  .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
  }

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

@media (min-width: 1200px) {
  .header-cta {
    display: inline-flex;
  }
}

@media (min-width: 1440px) {
  :root {
    --container: 1320px;
  }
}

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

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