﻿:root {
  --bg: #FFF7ED;
  --accent: #F97316;
  --accent-dark: #EA580C;
  --accent-2: #0F766E;
  --text: #2B1B12;
  --muted: #7C5E4A;
  --card-bg: #FFFBF5;
  --white-card: #FFFFFF;
  --sand: #FED7AA;
  --soft-border: rgba(124, 94, 74, 0.16);
  --border-radius: 18px;
  --shadow: 0 18px 45px rgba(91, 52, 24, 0.12);
  --shadow-hover: 0 24px 60px rgba(91, 52, 24, 0.18);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% 4%, rgba(249, 115, 22, 0.20), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(15, 118, 110, 0.12), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(254, 215, 170, 0.55), transparent 34%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, #7C2D12, #C2410C 45%, #F97316);
  color: #fff;
  padding: 22px 16px 48px;
  overflow: hidden;
}

header::before,
header::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

header::before {
  width: 360px;
  height: 360px;
  top: -150px;
  right: -80px;
  background: radial-gradient(circle, rgba(255, 251, 245, 0.38), rgba(255, 251, 245, 0.06) 58%, transparent 70%);
}

header::after {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(254, 215, 170, 0.35), rgba(254, 215, 170, 0.07) 62%, transparent 72%);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  min-width: 0;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 18px rgba(43, 27, 18, 0.22);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 12px 28px rgba(43, 27, 18, 0.18);
}

.logo span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 251, 245, 0.82);
  margin-top: 2px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 16px;
}

nav a {
  color: rgba(255, 251, 245, 0.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.94;
  white-space: nowrap;
  transition: color .16s ease, opacity .16s ease;
}

nav a:hover,
nav a.active {
  color: #fff;
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: rgba(254, 215, 170, 0.85);
  text-underline-offset: 5px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 34px;
  align-items: center;
  min-width: 0;
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
  text-shadow: 0 16px 42px rgba(43, 27, 18, 0.26);
}

.hero-title span {
  color: #FED7AA;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 251, 245, 0.90);
  margin-bottom: 22px;
  max-width: 720px;
}

.hero-badges,
.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.hero-badges {
  margin-bottom: 18px;
}

.hero-actions {
  margin-bottom: 16px;
}

.badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(254, 215, 170, 0.62);
  background: rgba(255, 251, 245, 0.16);
  color: #FFF7ED;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  max-width: 100%;
}

.btnx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  white-space: normal;
  max-width: 100%;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}

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

.btnx:active {
  transform: translateY(0);
}

.btnx--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.30);
}

.btnx--primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 20px 42px rgba(234, 88, 12, 0.36);
}

.btnx--wa {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #052e16;
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.25);
}

.btnx--wa:hover {
  background: linear-gradient(135deg, #34d399, #16a34a);
  box-shadow: 0 20px 42px rgba(22, 163, 74, 0.32);
}

.btnx--outline {
  background: rgba(255, 251, 245, 0.96);
  color: var(--text);
  border-color: rgba(254, 215, 170, 0.80);
  box-shadow: 0 14px 30px rgba(91, 52, 24, 0.14);
}

.btnx--outline:hover {
  background: #fff;
  border-color: #FED7AA;
  box-shadow: 0 18px 38px rgba(91, 52, 24, 0.20);
}

.btnx--outline-light {
  background: #fff;
  color: var(--text);
  border-color: var(--soft-border);
  box-shadow: 0 12px 28px rgba(91, 52, 24, 0.10);
}

.btnx--outline-light:hover {
  background: #FFF7ED;
  border-color: rgba(249, 115, 22, 0.30);
}

.btnx--compact {
  padding: 10px 14px;
  min-height: 42px;
  font-size: 13px;
}

.hero-note {
  font-size: 12px;
  color: rgba(255, 247, 237, 0.78);
}

.hero-card {
  position: relative;
  background: rgba(255, 251, 245, 0.94);
  border-radius: 24px;
  padding: 22px 22px 20px;
  box-shadow: 0 26px 70px rgba(43, 27, 18, 0.24);
  border: 1px solid rgba(254, 215, 170, 0.62);
  min-width: 0;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #F97316, #FED7AA, #0F766E);
}

.hero-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text);
}

.hero-card p,
.hero-card li {
  font-size: 14px;
  color: var(--muted);
}

.hero-card p {
  margin-bottom: 12px;
}

.hero-card ul {
  list-style: none;
  margin: 0 0 14px;
}

.hero-card li {
  margin-bottom: 8px;
}

.hero-card li::before {
  content: "•";
  margin-right: 8px;
  color: var(--accent-2);
  font-weight: 900;
}

main {
  padding: 38px 16px 44px;
}

section {
  margin-bottom: 44px;
}

.section-header {
  position: relative;
  margin-bottom: 18px;
  padding-left: 16px;
}

.section-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
}

.section-title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 15px;
  color: var(--muted);
  max-width: 840px;
}

.grid {
  display: grid;
  gap: 18px;
  min-width: 0;
}

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

.card,
.faq-item {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF, var(--card-bg));
  border: 1px solid rgba(124, 94, 74, 0.12);
  border-radius: var(--border-radius);
  padding: 18px 18px 16px;
  box-shadow: 0 18px 45px rgba(91, 52, 24, 0.10);
  min-width: 0;
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.card::before,
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.90), rgba(15, 118, 110, 0.80));
  opacity: 0.85;
}

.card:hover,
.faq-item:hover,
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(249, 115, 22, 0.22);
}

.card h3,
.faq-item h3 {
  font-size: 17px;
  margin-bottom: 7px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.card p,
.faq-item p,
.card li {
  font-size: 14px;
  color: var(--muted);
}

.card ul {
  padding-left: 18px;
}

#directions .card {
  padding-top: 56px;
}

#directions .card::after {
  position: absolute;
  top: 16px;
  left: 18px;
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFF7ED;
  border: 1px solid rgba(249, 115, 22, 0.18);
  box-shadow: 0 10px 22px rgba(91, 52, 24, 0.10);
  font-size: 18px;
}

#directions .card:nth-child(1)::after { content: "🇪🇸"; }
#directions .card:nth-child(2)::after { content: "🏠"; }
#directions .card:nth-child(3)::after { content: "🎓"; }
#directions .card:nth-child(4)::after { content: "🧭"; }
#directions .card:nth-child(5)::after { content: "✈️"; }

.card-link {
  display: inline-flex;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 900;
  color: var(--accent-dark);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.tag {
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #FFF7ED;
  border: 1px solid rgba(249, 115, 22, 0.14);
  color: var(--muted);
  max-width: 100%;
}

.price {
  font-weight: 900;
  font-size: 17px;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.price-note {
  font-size: 12px;
  color: var(--muted);
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 46px;
  margin-bottom: 14px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 4px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.30);
  font-weight: 900;
}

.about-wrap,
.soon-wrap {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 251, 245, 0.96)),
    radial-gradient(circle at 92% 0%, rgba(254, 215, 170, 0.55), transparent 28%);
  border: 1px solid var(--soft-border);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.soon-wrap::after {
  content: "☀️";
  position: absolute;
  right: 20px;
  top: 18px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #FFF7ED;
  border: 1px solid rgba(249, 115, 22, 0.18);
  box-shadow: 0 14px 32px rgba(91, 52, 24, 0.12);
  font-size: 22px;
}

.about-pill,
.soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(254, 215, 170, 0.52);
  border: 1px solid rgba(249, 115, 22, 0.18);
  color: #7C2D12;
  font-weight: 900;
  margin-bottom: 10px;
  max-width: calc(100% - 54px);
}

.about-h,
.soon-h {
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text);
}

.about-p,
.soon-p {
  color: var(--muted);
  font-size: 15px;
  max-width: none;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
  min-width: 0;
}

.benefit-card {
  background: linear-gradient(180deg, #FFFFFF, #FFFBF5);
  border: 1px solid rgba(124, 94, 74, 0.12);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 14px 32px rgba(91, 52, 24, 0.09);
  min-width: 0;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.benefit-card b {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.benefit-card span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.benefit-icon {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent-2);
  font-weight: 1000;
  margin-bottom: 9px;
}

.cta-block {
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, #F97316, #DC2626);
  color: #fff;
  border-radius: 28px;
  padding: 30px 22px;
  box-shadow: 0 24px 65px rgba(153, 27, 27, 0.18);
  min-width: 0;
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -100px;
  top: -130px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 66%);
}

.cta-block h2,
.cta-block p,
.cta-actions {
  position: relative;
}

.cta-block h2 {
  font-size: clamp(24px, 2.5vw, 34px);
  margin-bottom: 8px;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.cta-block p {
  font-size: 15px;
  margin: 0 auto 18px;
  color: rgba(255, 251, 245, 0.90);
  max-width: 760px;
}

.cta-actions {
  justify-content: center;
}

footer {
  padding: 20px 16px 28px;
  font-size: 12px;
  color: var(--muted);
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(124, 94, 74, 0.18);
  padding-top: 14px;
  min-width: 0;
}

footer a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 800;
}

footer a:hover {
  text-decoration: underline;
}

.calc-card {
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 251, 245, 0.96)),
    radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.14), transparent 34%);
  border: 1px solid var(--soft-border);
  padding: 20px;
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
}

.calc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  min-width: 0;
}

.calc-title {
  font-size: 20px;
  font-weight: 950;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.calc-sub {
  color: var(--muted);
  font-size: 13px;
  max-width: 720px;
}

.calc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--soft-border);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  white-space: normal;
  line-height: 1.35;
  max-width: 100%;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-top: 12px;
  min-width: 0;
}

.calc-fields,
.calc-result {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid rgba(124, 94, 74, 0.12);
  box-shadow: 0 12px 30px rgba(91, 52, 24, 0.08);
  min-width: 0;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-width: 0;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.calc-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 900;
}

.calc-input {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(124, 94, 74, 0.18);
  font-size: 14px;
  outline: none;
  background: #fff;
  color: var(--text);
  width: 100%;
  min-width: 0;
}

.calc-input:focus {
  border-color: rgba(249, 115, 22, 0.48);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.qty {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(124, 94, 74, 0.16);
  background: #FFF7ED;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 44px;
  user-select: none;
}

.qty-btn:active {
  transform: translateY(1px);
}

.qty-input {
  text-align: center;
  font-weight: 900;
}

.calc-help {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.calc-result {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.calc-total b {
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--accent-dark);
}

.calc-breakdown {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  padding-top: 8px;
  border-top: 1px dashed rgba(124, 94, 74, 0.20);
  word-break: break-word;
}

.calc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  min-width: 0;
}

.calc-note {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  nav {
    display: none;
  }

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

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

  .calc-grid,
  .calc-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  header {
    padding-bottom: 32px;
  }

  .top-bar {
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  main {
    padding: 26px 14px 30px;
  }

  section {
    margin-bottom: 36px;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions,
  .calc-cta,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btnx {
    width: 100%;
  }

  .hero-card,
  .calc-card,
  .about-wrap,
  .soon-wrap,
  .cta-block {
    border-radius: 22px;
  }

  .calc-card {
    padding: 14px;
  }

  .soon-wrap::after {
    opacity: 0.55;
    right: 14px;
    top: 14px;
  }

  footer .container {
    flex-direction: column;
  }
}

/* Visual photo system: replace SVG placeholders in assets/photos with real .jpg/.webp photos when available. */
.visual-section {
  margin-top: -6px;
}

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

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

.photo-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #FFFFFF;
  border: 1px solid rgba(124, 94, 74, 0.14);
  box-shadow: 0 18px 45px rgba(91, 52, 24, 0.10);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(91, 52, 24, 0.16);
  border-color: rgba(249, 115, 22, 0.24);
}

.photo-card__media,
.card-media,
.hero-photo {
  position: relative;
  overflow: hidden;
  background: #FED7AA;
}

.photo-card__media {
  aspect-ratio: 4 / 3;
}

.card-media {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(124, 94, 74, 0.12);
}

.hero-photo {
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(124, 94, 74, 0.14);
  box-shadow: 0 16px 36px rgba(91, 52, 24, 0.12);
}

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

.photo-card__body {
  padding: 16px;
}

.photo-card__body h3 {
  font-size: 17px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 6px;
}

.photo-card__body p {
  font-size: 14px;
  color: var(--muted);
}

.photo-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.88);
  border: 1px solid rgba(254, 215, 170, 0.65);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(91, 52, 24, 0.12);
  backdrop-filter: blur(10px);
}

.direction-card {
  padding-top: 18px !important;
}

#directions .direction-card::after {
  content: none;
  display: none;
}

.direction-card h3::before {
  display: inline-flex;
  margin-right: 8px;
}

.direction-card--residency h3::before { content: "🇪🇸"; }
.direction-card--estate h3::before { content: "🏠"; }
.direction-card--education h3::before { content: "🎓"; }
.direction-card--tour h3::before { content: "🧭"; }
.direction-card--relocation h3::before { content: "✈️"; }

@media (max-width: 980px) {
  .visual-grid,
  .visual-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .visual-grid,
  .visual-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .photo-card,
  .hero-photo {
    border-radius: 20px;
  }

  .card-media {
    border-radius: 14px;
  }
}

/* Main page hero photo background. Temporary static image; replace images/hero-family.png when final photo is ready. */
.hero--with-photo {
  position: relative;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: center;
  min-height: 660px;
  padding: 42px;
  border-radius: 34px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(255, 247, 237, 0.96) 0%, rgba(255, 247, 237, 0.86) 34%, rgba(255, 247, 237, 0.42) 59%, rgba(255, 247, 237, 0.08) 100%),
    url("images/hero-family.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  box-shadow: 0 30px 80px rgba(91, 52, 24, 0.24);
  border: 1px solid rgba(254, 215, 170, 0.48);
}

.hero--with-photo > div:first-child {
  max-width: 720px;
  padding: 8px 0;
}

.hero--with-photo .hero-title {
  font-size: clamp(32px, 3.8vw, 48px);
  color: var(--text);
  text-shadow: none;
}

.hero--with-photo .hero-title span {
  color: var(--accent-dark);
}

.hero--with-photo .hero-subtitle {
  color: var(--muted);
  max-width: 660px;
}

.hero--with-photo .badge {
  background: rgba(255, 251, 245, 0.72);
  border-color: rgba(249, 115, 22, 0.24);
  color: #7C2D12;
  box-shadow: 0 10px 24px rgba(91, 52, 24, 0.08);
}

.hero--with-photo .hero-note {
  color: rgba(43, 27, 18, 0.64);
}

.hero--with-photo .btnx--outline {
  background: rgba(255, 251, 245, 0.90);
}

.hero--with-photo .hero-card {
  display: none;
}

@media (max-width: 980px) {
  .hero--with-photo {
    grid-template-columns: minmax(0, 1fr);
    min-height: 620px;
    padding: 34px;
    background-image:
      linear-gradient(90deg, rgba(255, 247, 237, 0.96) 0%, rgba(255, 247, 237, 0.84) 48%, rgba(255, 247, 237, 0.30) 100%),
      url("images/hero-family.png");
    background-position: 72% center;
  }
}

@media (max-width: 640px) {
  .hero--with-photo {
    min-height: 680px;
    padding: 24px;
    border-radius: 24px;
    align-items: start;
    background-image:
      linear-gradient(180deg, rgba(255, 247, 237, 0.98) 0%, rgba(255, 247, 237, 0.92) 47%, rgba(255, 247, 237, 0.42) 78%, rgba(255, 247, 237, 0.10) 100%),
      url("images/hero-family.png");
    background-position: 74% center;
  }

  .hero--with-photo .hero-title {
    font-size: 29px;
  }
}


/* Wider desktop hero on the main page without stretching the text column. */
@media (min-width: 1180px) {
  header:has(.hero--with-photo) .container {
    max-width: min(1440px, calc(100vw - 48px));
  }

  .hero--with-photo {
    min-height: 680px;
    padding-left: clamp(42px, 5vw, 72px);
    padding-right: clamp(42px, 5vw, 72px);
  }

  .hero--with-photo > div:first-child {
    max-width: 720px;
  }

  .hero--with-photo .hero-subtitle {
    max-width: 640px;
  }
}

/* Modern Mediterranean Luxury palette override. */
:root {
  --bg: #F3F1EA;
  --accent: #233D35;
  --accent-dark: #182C26;
  --accent-2: #A47551;
  --text: #1F2523;
  --muted: #68706A;
  --card-bg: #FFFFFF;
  --white-card: #FFFFFF;
  --sand: #D8C4B2;
  --soft-border: rgba(35, 61, 53, 0.14);
  --shadow: 0 18px 45px rgba(21, 26, 24, 0.12);
  --shadow-hover: 0 24px 60px rgba(21, 26, 24, 0.17);
}

body {
  background:
    radial-gradient(circle at 14% 2%, rgba(164, 117, 81, 0.13), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(35, 61, 53, 0.08), transparent 28%),
    linear-gradient(180deg, #F3F1EA 0%, #E8E3DA 100%);
  color: var(--text);
}

header {
  background:
    radial-gradient(circle at 20% 20%, rgba(164, 117, 81, 0.25), transparent 34%),
    linear-gradient(135deg, #151A18 0%, #233D35 52%, #A47551 100%);
}

header::before {
  background: radial-gradient(circle, rgba(216, 196, 178, 0.20), rgba(216, 196, 178, 0.04) 58%, transparent 70%);
}

header::after {
  background: radial-gradient(circle, rgba(164, 117, 81, 0.18), rgba(164, 117, 81, 0.04) 62%, transparent 72%);
}

.logo,
nav a:hover,
nav a.active {
  color: #FFFFFF;
}

.logo span,
nav a,
.hero-subtitle,
.cta-block p {
  color: rgba(255, 255, 255, 0.82);
}

nav a:hover,
nav a.active {
  text-decoration-color: rgba(216, 196, 178, 0.82);
}

.hero-title span {
  color: #D8C4B2;
}

.badge {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(216, 196, 178, 0.38);
  color: rgba(255, 255, 255, 0.88);
}

.btnx--primary {
  background: #233D35;
  color: #FFFFFF;
  box-shadow: 0 16px 34px rgba(21, 26, 24, 0.22);
}

.btnx--primary:hover {
  background: #182C26;
  box-shadow: 0 20px 42px rgba(21, 26, 24, 0.28);
}

.btnx--wa {
  background: #1F7A4D;
  color: #FFFFFF;
  box-shadow: 0 16px 34px rgba(31, 122, 77, 0.22);
}

.btnx--wa:hover {
  background: #16633E;
  box-shadow: 0 20px 42px rgba(22, 99, 62, 0.28);
}

.btnx--outline,
.btnx--outline-light {
  background: rgba(255, 255, 255, 0.92);
  color: #1F2523;
  border-color: rgba(35, 61, 53, 0.16);
  box-shadow: 0 14px 30px rgba(21, 26, 24, 0.10);
}

.btnx--outline:hover,
.btnx--outline-light:hover {
  background: #FFFFFF;
  border-color: rgba(164, 117, 81, 0.34);
  box-shadow: 0 18px 38px rgba(21, 26, 24, 0.14);
}

.hero-note {
  color: rgba(255, 255, 255, 0.64);
}

.hero-card,
.card,
.faq-item,
.benefit-card,
.photo-card,
.calc-fields,
.calc-result {
  background: #FFFFFF;
  border-color: rgba(35, 61, 53, 0.14);
  box-shadow: var(--shadow);
}

.hero-card::before,
.card::before,
.faq-item::before {
  background: linear-gradient(90deg, #233D35, #A47551);
}

.card:hover,
.faq-item:hover,
.benefit-card:hover,
.photo-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(164, 117, 81, 0.28);
}

.section-header::before,
.step::before {
  background: linear-gradient(180deg, #233D35, #A47551);
  box-shadow: 0 10px 24px rgba(21, 26, 24, 0.18);
}

.card-link,
footer a,
.calc-total b {
  color: #233D35;
}

.card-link:hover,
footer a:hover {
  color: #182C26;
}

.tag,
.calc-badge,
.about-pill,
.soon-pill,
.photo-label,
.hero--with-photo .badge {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(35, 61, 53, 0.14);
  color: #233D35;
}

.about-wrap,
.soon-wrap,
.calc-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 227, 218, 0.82)),
    radial-gradient(circle at 92% 0%, rgba(164, 117, 81, 0.16), transparent 30%);
  border-color: rgba(35, 61, 53, 0.14);
  box-shadow: var(--shadow);
}

.soon-wrap::after,
.qty-btn,
#directions .card::after,
.photo-card__media,
.card-media,
.hero-photo {
  background: #E8E3DA;
  border-color: rgba(35, 61, 53, 0.14);
}

.benefit-icon {
  background: rgba(35, 61, 53, 0.10);
  color: #233D35;
}

.cta-block {
  background:
    radial-gradient(circle at 20% 20%, rgba(164, 117, 81, 0.28), transparent 34%),
    linear-gradient(135deg, #151A18 0%, #233D35 58%, #A47551 100%);
  box-shadow: 0 24px 65px rgba(21, 26, 24, 0.20);
}

footer .container,
.calc-input,
.qty-btn,
.calc-breakdown {
  border-color: rgba(35, 61, 53, 0.14);
}

.calc-input:focus {
  border-color: rgba(35, 61, 53, 0.44);
  box-shadow: 0 0 0 4px rgba(35, 61, 53, 0.12);
}

/* Main page photo hero: keep text readable without returning to cream/orange styling. */
.hero--with-photo {
  background-image:
    linear-gradient(90deg, rgba(243, 241, 234, 0.96) 0%, rgba(243, 241, 234, 0.84) 34%, rgba(243, 241, 234, 0.42) 59%, rgba(243, 241, 234, 0.08) 100%),
    url("images/hero-family.png");
  border-color: rgba(35, 61, 53, 0.16);
  box-shadow: 0 30px 80px rgba(21, 26, 24, 0.20);
}

.hero--with-photo .hero-title {
  color: #1F2523;
}

.hero--with-photo .hero-title span {
  color: #233D35;
}

.hero--with-photo .hero-subtitle {
  color: #68706A;
}

.hero--with-photo .hero-note {
  color: rgba(31, 37, 35, 0.62);
}

.hero--with-photo .btnx--outline {
  background: rgba(255, 255, 255, 0.86);
}

@media (max-width: 980px) {
  .hero--with-photo {
    background-image:
      linear-gradient(90deg, rgba(243, 241, 234, 0.96) 0%, rgba(243, 241, 234, 0.82) 48%, rgba(243, 241, 234, 0.30) 100%),
      url("images/hero-family.png");
  }
}

@media (max-width: 640px) {
  .hero--with-photo {
    background-image:
      linear-gradient(180deg, rgba(243, 241, 234, 0.98) 0%, rgba(243, 241, 234, 0.92) 47%, rgba(243, 241, 234, 0.42) 78%, rgba(243, 241, 234, 0.10) 100%),
      url("images/hero-family.png");
  }
}

/* Clean premium cover-card layout: image, title, description, link. */
.direction-card,
.photo-card {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}

.direction-card .card-media,
.photo-card__media {
  width: 100%;
  height: 180px;
  aspect-ratio: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  background: #E8E3DA;
}

.direction-card .photo-img,
.photo-card__media .photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.direction-card > h3,
.direction-card > p,
.direction-card > .card-link {
  margin-left: 18px;
  margin-right: 18px;
}

.direction-card > h3 {
  margin-top: 16px;
}

.direction-card > .card-link,
.photo-card__body .card-link {
  margin-top: auto;
  padding-top: 10px;
}

.direction-card > .card-link {
  margin-bottom: 18px;
}

.photo-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.photo-label,
.direction-card h3::before {
  display: none !important;
}

#directions .card {
  padding-top: 0 !important;
}

@media (max-width: 640px) {
  .direction-card .card-media,
  .photo-card__media {
    height: 180px;
  }
}

/* Strong reset for service/cards requested as clean photo-cover cards. */
.direction-card::before,
.visual-section .photo-card::before,
.direction-card::after,
.visual-section .photo-card::after {
  content: none !important;
  display: none !important;
}

.direction-card,
.visual-section .photo-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(35, 61, 53, 0.14) !important;
  box-shadow: 0 18px 45px rgba(21, 26, 24, 0.12) !important;
  overflow: hidden !important;
}

.direction-card .card-media,
.visual-section .photo-card__media {
  display: block !important;
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(35, 61, 53, 0.10) !important;
  border-radius: 0 !important;
  border-top-left-radius: inherit !important;
  border-top-right-radius: inherit !important;
}

.direction-card .photo-img,
.visual-section .photo-img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

.direction-card h3::before,
.visual-section .photo-label {
  content: none !important;
  display: none !important;
}

.direction-card > h3,
.visual-section .photo-card__body h3 {
  margin-top: 16px !important;
  color: #1F2523 !important;
}

.direction-card > p,
.visual-section .photo-card__body p {
  color: #68706A !important;
}

/* Real service images. */
.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
}

.service-card::before,
.service-card::after {
  content: none !important;
  display: none !important;
}

.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.card-body .card-link {
  margin-top: auto;
  padding-top: 10px;
}

.page-hero-media {
  margin: 28px 0 0;
  padding: 0 16px;
}

.page-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(21, 26, 24, 0.14);
  display: block;
}

@media (max-width: 768px) {
  .card-image {
    height: 165px;
  }

  .page-hero-media {
    margin-top: 20px;
    padding: 0 14px;
  }

  .page-hero-image {
    max-height: 300px;
    border-radius: 22px;
  }
}

/* Service pages: integrated hero image inside the first screen. */
.page-hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(164, 117, 81, 0.18), transparent 34%),
    linear-gradient(135deg, #151A18 0%, #233D35 56%, #6F6145 100%);
  color: #fff;
  padding: 28px 16px 56px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}

.page-hero-content {
  min-width: 0;
}

.page-hero-visual {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(21, 26, 24, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.page-hero-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.page-hero-visual--residency img,
.page-hero-visual--real-estate img,
.page-hero-visual--education img,
.page-hero-visual--property-tour img,
.page-hero-visual--relocation img {
  object-position: center center;
}

@media (min-width: 901px) {
  .page-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  }
}

@media (max-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-hero-visual img {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 22px 14px 36px;
  }

  .page-hero-visual {
    border-radius: 22px;
  }

  .page-hero-visual img {
    height: 240px;
  }
}

/* Client cases: text-only trust block, lighter than service cards. */
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.case-card {
  min-width: 0;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(35, 61, 53, 0.12);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(21, 26, 24, 0.08);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(21, 26, 24, 0.12);
  border-color: rgba(164, 117, 81, 0.24);
}

.case-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 12px;
  background: rgba(216, 196, 178, 0.34);
  border: 1px solid rgba(35, 61, 53, 0.10);
  font-size: 20px;
}

.case-card h3 {
  font-size: 17px;
  line-height: 1.22;
  color: #1F2523;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.case-card p {
  font-size: 14px;
  color: #68706A;
}

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

@media (max-width: 640px) {
  .case-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Popular districts cards with real images. */
.district-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.district-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
}

.district-card::before,
.district-card::after {
  content: none !important;
  display: none !important;
}

.district-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.district-card-image--classic,
.district-card-image--modern,
.district-card-image--investment {
  object-position: center center;
}

.district-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.district-card-body .card-link {
  margin-top: auto;
  padding-top: 10px;
}

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

@media (max-width: 768px) {
  .district-card-image {
    height: 170px;
  }
}

@media (max-width: 640px) {
  .district-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Inner media cards with real images for education and property tour pages. */
.media-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
}

.media-card::before,
.media-card::after {
  content: none !important;
  display: none !important;
}

.media-card .card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.media-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.media-card .card-link {
  margin-top: auto;
  padding-top: 10px;
}

.card-image--education-adaptation,
.card-image--education-academic,
.card-image--education-neighborhood,
.card-image--tour-city,
.card-image--tour-properties,
.card-image--tour-education,
.card-image--tour-life {
  object-position: center center;
}

@media (max-width: 768px) {
  .media-card .card-image {
    height: 170px;
  }
}

/* Hide logo mark site-wide while keeping the Residance Way text brand. */
.logo-mark {
  display: none !important;
}

.logo {
  gap: 0;
}
