:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-soft: #ebe7df;
  --ink: #0b0f14;
  --muted: #59606b;
  --line: rgba(11, 15, 20, 0.13);
  --primary: #01422c;
  --dark: #01422c;
  --dark-2: #063724;
  --white: #ffffff;
  --accent: #01422c;
  --accent-soft: #d9efe5;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow: 0 24px 80px rgba(11, 15, 20, 0.13);
  --max: 1180px;
  --header-height: 78px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

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

.section-pad.compact {
  padding: 86px 0;
}

.muted {
  background: var(--surface-soft);
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-180%);
  background: var(--dark);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(246, 244, 239, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 244, 239, 0.94);
  border-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 176px;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(11, 15, 20, 0.76);
  font-size: 0.94rem;
}

.nav-panel a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-panel a:hover {
  color: var(--ink);
}

.nav-call {
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button:focus-visible,
.nav-panel a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(1, 66, 44, 0.32);
  outline-offset: 3px;
}

.button-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  box-shadow: 0 12px 30px rgba(11, 15, 20, 0.18);
}

.button-dark:hover {
  box-shadow: 0 18px 42px rgba(11, 15, 20, 0.22);
}

.button-light {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.9rem;
}

.full {
  width: 100%;
}

.hero {
  padding-top: 88px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(760px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 66, 44, 0.18), rgba(1, 66, 44, 0));
  top: -230px;
  right: -170px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 62px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

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

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(2.65rem, 5.8vw, 5.55rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.1vw, 2.05rem);
}

.hero-lead {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.48;
}

.hero-actions,
.location-actions,
.contact-buttons,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin: 34px 0;
}

.hero-metrics {
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 670px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  overflow: hidden;
}

.hero-metrics div {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.visual-shell {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.visual-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.visual-topbar strong {
  margin-left: auto;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.visual-shell > img {
  width: 100%;
  background: linear-gradient(135deg, #fff, #edf5ef);
}

.status-card {
  position: absolute;
  width: min(230px, 44%);
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 35px rgba(11, 15, 20, 0.14);
  backdrop-filter: blur(12px);
}

.status-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 900;
}

.status-card strong {
  display: block;
  margin-top: 4px;
  letter-spacing: -0.04em;
}

.card-left {
  left: 24px;
  bottom: 24px;
}

.card-right {
  right: 24px;
  top: 86px;
}

.signal-band {
  padding: 18px 0;
  color: var(--white);
  background: var(--dark);
  overflow: hidden;
}

.signal-scroll {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.signal-scroll span {
  opacity: 0.88;
}

.two-col,
.plans-grid,
.location-grid,
.contact-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.section-kicker p:not(.eyebrow),
.section-heading p,
.prose p {
  color: var(--muted);
  font-size: 1.1rem;
}

.prose p:last-child,
.section-heading p:last-child,
.section-kicker p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 52px;
}

.section-heading.narrow {
  max-width: 720px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.step-card,
.price-card,
.map-card,
.contact-form,
.image-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(11, 15, 20, 0.06);
}

.feature-card {
  min-height: 290px;
  padding: 28px;
}

.feature-card.large {
  grid-column: span 2;
}

.feature-card.dark {
  color: var(--white);
  background: var(--dark);
}

.feature-card p,
.step-card p,
.price-note,
.contact-copy p,
.image-card figcaption,
.form-note,
.faq-list p {
  color: var(--muted);
}

.feature-card.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-card.dark .feature-icon {
  color: var(--dark);
  background: var(--white);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 38px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1;
}

.plans-grid {
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
}

.price-card {
  padding: 30px;
  background: var(--dark);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}

.price-label {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price {
  margin-bottom: 12px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.price strong {
  font-size: 1.25em;
}

.price-note {
  color: rgba(255, 255, 255, 0.7);
}

.check-list {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.check-list li::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.steps,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(190px, 17vw);
  gap: 16px;
}

.gallery-card {
  position: relative;
  display: block;
  min-height: 190px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(11, 15, 20, 0.08);
  isolation: isolate;
}

.gallery-card-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card-wide {
  grid-column: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(1, 66, 44, 0) 42%, rgba(1, 66, 44, 0.78) 100%);
  opacity: 0.86;
  pointer-events: none;
}

.gallery-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: var(--white);
  font-weight: 900;
  line-height: 1.2;
  text-align: left;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.24);
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.06);
}

.gallery-card:focus-visible {
  outline: 3px solid rgba(1, 66, 44, 0.32);
  outline-offset: 3px;
}

.lightbox {
  width: min(92vw, 1040px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.lightbox::backdrop {
  background: rgba(1, 20, 13, 0.72);
  backdrop-filter: blur(7px);
}

.lightbox img {
  width: 100%;
  max-height: min(76vh, 760px);
  object-fit: contain;
  background: #07150f;
}

.lightbox p {
  margin: 0;
  padding: 16px 22px 20px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(1, 66, 44, 0.82);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
}

.step-card {
  padding: 30px;
  min-height: 310px;
  overflow: hidden;
}

.step-card h3 {
  max-width: 100%;
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 1.9vw, 1.85rem);
  letter-spacing: -0.045em;
}

.step-card p {
  max-width: 100%;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.step-card > .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1;
}

.step-card h3 .lang-es,
.step-card h3 .lang-en,
.step-card p .lang-es,
.step-card p .lang-en {
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.image-card {
  overflow: hidden;
  margin: 0;
}

.image-card img {
  width: 100%;
  background: var(--surface);
}

.image-card figcaption {
  padding: 18px 20px 22px;
  font-weight: 800;
}

.location-grid {
  align-items: center;
}

address {
  margin: 28px 0;
  color: var(--ink);
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.45;
}

.map-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 62% 42%, rgba(217, 239, 229, 0.24), transparent 28%),
    var(--dark);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.map-info {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.map-info span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-info strong,
.map-info a {
  display: block;
  margin-top: 8px;
}

.map-info strong {
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.map-info a {
  color: rgba(255, 255, 255, 0.82);
}

.faq-grid {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.15fr);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
}

summary {
  position: relative;
  padding: 22px 58px 22px 22px;
  font-weight: 900;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 500;
}

details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.final-cta {
  color: var(--white);
  background: var(--dark);
}

.final-cta .eyebrow {
  color: var(--accent-soft);
}

.final-cta .eyebrow::before {
  background: var(--accent-soft);
}

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

.contact-form {
  padding: 24px;
  background: var(--surface);
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f9f8f4;
  color: var(--ink);
  padding: 14px 15px;
}

textarea {
  resize: vertical;
}

.form-actions .button {
  flex: 1 1 190px;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.86rem;
}

.site-footer {
  padding: 58px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background: #07090d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 48px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 8px;
}

.footer-grid img {
  margin-bottom: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: var(--dark);
  box-shadow: 0 16px 42px rgba(11, 15, 20, 0.24);
}

.floating-cta a {
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 900;
}

.floating-cta a:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.noscript-message {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  padding: 14px 18px;
  border-radius: 14px;
  color: var(--white);
  background: var(--dark);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--header-height) + 10px);
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-panel a {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav-panel a:hover {
    background: var(--surface-soft);
  }

  .nav-panel .button {
    margin-top: 6px;
  }

  .hero-grid,
  .two-col,
  .plans-grid,
  .location-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero {
    padding-top: 62px;
  }

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

  .steps,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(210px, 34vw);
  }

  .gallery-card-feature,
  .gallery-card-wide {
    grid-column: span 2;
  }

  .price-card {
    max-width: 560px;
  }

  .signal-scroll {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .signal-scroll::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 76px 0;
  }

  .section-pad.compact {
    padding: 64px 0;
  }

  .shell {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero-metrics,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .feature-card.large {
    grid-column: span 1;
  }

  .feature-card,
  .step-card,
  .price-card,
  .contact-form {
    padding: 22px;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(230px, 72vw);
  }

  .gallery-card-feature,
  .gallery-card-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .status-card {
    position: static;
    width: auto;
    margin: 12px;
  }

  .map-card {
    min-height: 360px;
  }

  .footer-bottom,
  .floating-cta {
    left: 12px;
    right: 12px;
  }

  .footer-bottom {
    display: grid;
  }

  .floating-cta a {
    flex: 1;
    text-align: center;
  }
}

/* International landing additions */
.lang-en { display: none; }
body[data-lang="en"] .lang-es { display: none; }
body[data-lang="en"] .lang-en { display: inline; }
body[data-lang="en"] p .lang-en,
body[data-lang="en"] h1 .lang-en,
body[data-lang="en"] h2 .lang-en,
body[data-lang="en"] h3 .lang-en,
body[data-lang="en"] summary .lang-en,
body[data-lang="en"] label .lang-en,
body[data-lang="en"] li .lang-en,
body[data-lang="en"] dt .lang-en { display: inline; }

.lang-switch {
  min-width: 46px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--dark);
  font-weight: 900;
}

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

.service-bento .feature-card {
  min-height: 310px;
}

.service-bento .feature-card.dark .feature-icon {
  color: var(--dark);
}

@media (max-width: 1020px) {
  .service-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .service-bento { grid-template-columns: 1fr; }
  .lang-switch { min-width: 100%; }
}


/* Patch v2: language, process cards, icons and contact contrast */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.lang-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
}

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

.final-cta .contact-copy .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.final-cta .contact-copy address {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
  font-weight: 750;
}

.floating-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.float-icon {
  display: inline-flex;
  width: 21px;
  height: 21px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  line-height: 1;
}

body[data-lang="es"] .lang-es,
body[data-lang="en"] .lang-en {
  display: inline;
}

body[data-lang="es"] .lang-en,
body[data-lang="en"] .lang-es {
  display: none !important;
}

.step-card > .step-number {
  display: inline-flex !important;
}

.step-card h3 .lang-es,
.step-card h3 .lang-en,
.step-card p .lang-es,
.step-card p .lang-en {
  display: inline;
}

body[data-lang="es"] .step-card h3 .lang-en,
body[data-lang="es"] .step-card p .lang-en,
body[data-lang="en"] .step-card h3 .lang-es,
body[data-lang="en"] .step-card p .lang-es {
  display: none !important;
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }

  .step-card {
    min-height: auto;
  }
}


/* Patch v3: Acentua-level polish, real logos and correct iconography */
.brand {
  min-width: 236px;
}

.brand img,
.footer-grid img {
  width: 236px;
  height: auto;
}

.lang-switch {
  padding: 8px 12px;
  min-width: 74px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(1, 66, 44, 0.08);
}

.lang-switch:hover {
  border-color: rgba(1, 66, 44, 0.36);
  background: var(--white);
}

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

.service-bento .feature-card h3 {
  min-height: 3.1em;
}

.service-bento .feature-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-bento .feature-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(1, 66, 44, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.service-bento .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(11, 15, 20, 0.12);
  border-color: rgba(1, 66, 44, 0.22);
}

.service-bento .feature-card.dark::after {
  border-color: rgba(255, 255, 255, 0.18);
}

.floating-cta {
  background: #ffffff;
  border: 1px solid rgba(1, 66, 44, 0.16);
  box-shadow: 0 18px 44px rgba(1, 66, 44, 0.18);
}

.floating-cta a {
  color: var(--primary);
  padding: 12px 15px;
}

.floating-cta a:first-child {
  border-right: 1px solid rgba(1, 66, 44, 0.12);
}

.float-icon {
  width: 25px;
  height: 25px;
  background: rgba(1, 66, 44, 0.08);
}

.float-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.float-whatsapp .float-icon {
  background: #25d366;
  color: #ffffff;
}

.float-call .float-icon {
  background: var(--primary);
  color: #ffffff;
}

.site-footer {
  background: linear-gradient(135deg, #013321 0%, #06130e 100%);
}

.footer-grid img {
  margin-bottom: 20px;
}

@media (max-width: 980px) {
  .brand { min-width: 204px; }
  .brand img { width: 204px; }
  .nav-panel .lang-switch { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .brand { min-width: 176px; }
  .brand img { width: 176px; }
  .floating-cta a { padding: 12px 10px; }
}

/* Patch v6: gallery multilingual captions should not inherit absolute positioning on nested spans */
.gallery-card > span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: var(--white);
  font-weight: 900;
  line-height: 1.2;
  text-align: left;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.24);
}

.gallery-card > span .lang-es,
.gallery-card > span .lang-en {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  color: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: inherit;
  text-shadow: inherit;
}

/* Patch v7: keep language switch visible on mobile and enlarge mobile header logo */
.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.header-actions .lang-switch {
  min-width: 74px;
  width: auto;
  justify-content: center;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .nav {
    gap: 16px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .lang-switch {
    display: inline-flex;
    min-width: 74px;
    padding-inline: 12px;
  }
}

@media (max-width: 640px) {
  .nav {
    gap: 12px;
  }

  .brand {
    min-width: 192px;
  }

  .brand img {
    width: 192px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .lang-switch {
    min-width: 70px;
    min-height: 40px;
    padding: 7px 10px;
  }

  .header-actions .nav-toggle {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 380px) {
  .brand {
    min-width: 176px;
  }

  .brand img {
    width: 176px;
  }

  .header-actions .lang-switch {
    min-width: 64px;
    padding-inline: 8px;
  }
}

/* Patch v9: align mobile language switch with hamburger menu */
@media (max-width: 640px) {
  .site-header .nav {
    align-items: center;
  }

  .site-header .header-actions {
    align-items: center;
  }

  .site-header .header-actions .lang-switch,
  .site-header .header-actions .nav-toggle {
    height: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin: 0;
    transform: none;
  }

  .site-header .header-actions .lang-switch {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
  }
}

@media (max-width: 380px) {
  .site-header .header-actions .lang-switch,
  .site-header .header-actions .nav-toggle {
    height: 46px;
    min-height: 46px;
  }
}
