/* ====================================================
   Prostalis — Vitamora Wellness
   Bienestar masculino · Estilo de vida equilibrado
   ==================================================== */

:root {
  --c-ink:       #0b2545;
  --c-deep:      #13315c;
  --c-navy:      #1d4e89;
  --c-azure:     #3a86c7;
  --c-sky:       #7fb8e0;
  --c-mist:      #d9ecf7;
  --c-cloud:     #eef6fb;
  --c-paper:     #f7fbfd;
  --c-white:     #ffffff;
  --c-text:      #2a3a4f;
  --c-muted:     #5e7088;
  --c-line:      #dde6ee;
  --c-accent:    #2596be;

  --shadow-sm:   0 1px 2px rgba(13, 33, 64, 0.04), 0 1px 3px rgba(13, 33, 64, 0.06);
  --shadow-md:   0 6px 18px rgba(13, 33, 64, 0.08);
  --shadow-lg:   0 18px 40px rgba(13, 33, 64, 0.12);

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --maxw:        1180px;
  --gutter:      clamp(20px, 4vw, 40px);

  --t-fast:      180ms cubic-bezier(.4,.0,.2,1);
  --t-base:      280ms cubic-bezier(.4,.0,.2,1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--c-navy); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-azure); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 400; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p  { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.logo span { color: var(--c-azure); }
.logo small {
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-left: 10px;
  border-left: 1px solid var(--c-line);
  padding-left: 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--c-deep);
  position: relative;
  padding: 6px 0;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--c-azure);
  transition: width var(--t-base);
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--c-ink);
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px var(--gutter) 28px;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-line);
    transform: translateY(-110%);
    transition: transform 340ms cubic-bezier(.4,.0,.2,1);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--c-line);
  }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-menu a { display: block; padding: 14px 0; font-size: 1.05rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  cursor: pointer;
  line-height: 1;
}
.btn-primary {
  background: var(--c-navy);
  color: var(--c-white);
  box-shadow: 0 4px 14px rgba(29, 78, 137, 0.25);
}
.btn-primary:hover {
  background: var(--c-deep);
  color: var(--c-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29, 78, 137, 0.32);
}
.btn-ghost {
  border: 1px solid var(--c-line);
  color: var(--c-deep);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--c-azure);
  color: var(--c-azure);
}
.btn-arrow::after {
  content: "→";
  transition: transform var(--t-fast);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(70px, 10vw, 130px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 10%, rgba(127, 184, 224, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(217, 236, 247, 0.6), transparent 60%),
    var(--c-paper);
}
.hero::before {
  content: "";
  position: absolute;
  top: 20%;
  right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(58, 134, 199, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  position: relative;
}
.hero-copy h1 {
  margin-bottom: 22px;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--c-navy);
}
.hero-lead {
  font-size: 1.12rem;
  color: var(--c-muted);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}
.hero-meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
}
.hero-meta div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--c-deep);
  font-weight: 500;
}
.hero-meta div span {
  font-size: 0.82rem;
  color: var(--c-muted);
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--c-mist);
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(255,255,255,.95);
  padding: 14px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  font-size: 0.86rem;
  max-width: 230px;
}
.hero-badge .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-azure);
  box-shadow: 0 0 0 4px rgba(58, 134, 199, 0.2);
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
}

/* ---------- Section base ---------- */
section { padding: clamp(60px, 8vw, 110px) 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 50px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head p {
  color: var(--c-muted);
  font-size: 1.05rem;
}

/* ---------- Product card (showcase) ---------- */
.product {
  background: linear-gradient(135deg, var(--c-cloud) 0%, var(--c-mist) 100%);
  position: relative;
  overflow: hidden;
}
.product::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(58, 134, 199, 0.15), transparent 65%);
  border-radius: 50%;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  position: relative;
}
.product-image {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid var(--c-line);
}
.product-image img {
  max-width: 75%;
  max-height: 75%;
  filter: drop-shadow(0 20px 30px rgba(13, 33, 64, 0.15));
}
.product-image .tag {
  position: absolute;
  top: 24px; left: 24px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-azure);
  background: var(--c-cloud);
  padding: 6px 12px;
  border-radius: 999px;
}

.product-info h2 { margin-bottom: 16px; }
.product-info .sub {
  color: var(--c-muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  margin: 30px 0;
  padding: 26px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.product-specs div h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  margin: 0 0 4px;
  font-weight: 600;
}
.product-specs div p {
  margin: 0;
  font-weight: 500;
  color: var(--c-deep);
  font-size: 0.98rem;
}

@media (max-width: 820px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-image { padding: 36px; max-width: 420px; margin: 0 auto; }
}

/* ---------- Ingredients ---------- */
.ingredients-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.ing-item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
}
.ing-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-sky);
}
.ing-item .num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--c-azure);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.ing-item h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.ing-item p {
  color: var(--c-muted);
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- Lifestyle band ---------- */
.lifestyle {
  background: var(--c-white);
}
.lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
.lifestyle-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  box-shadow: var(--shadow-md);
}
.lifestyle-img img { width: 100%; height: 100%; object-fit: cover; }
.lifestyle h2 { margin-bottom: 22px; }
.lifestyle ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lifestyle li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--c-text);
}
.lifestyle li::before {
  content: "";
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-mist) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4e89' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 14px no-repeat;
  flex-shrink: 0;
  margin-top: 1px;
}
@media (max-width: 820px) {
  .lifestyle-grid { grid-template-columns: 1fr; }
  .lifestyle-img { max-width: 480px; margin: 0 auto; }
}

/* ---------- People band (community) ---------- */
.people {
  background:
    linear-gradient(180deg, var(--c-paper) 0%, var(--c-cloud) 100%);
}
.people-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: stretch;
}
.people-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow-md);
}
.people-img img { width: 100%; height: 100%; object-fit: cover; }
.people-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.people-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.stat-box {
  background: var(--c-white);
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
}
.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--c-navy);
  font-weight: 500;
  margin-bottom: 4px;
}
.stat-box span {
  font-size: 0.88rem;
  color: var(--c-muted);
}
@media (max-width: 820px) {
  .people-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--c-line);
}
.faq-item:first-child { border-top: 1px solid var(--c-line); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--c-ink);
  gap: 20px;
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--c-navy); }
.faq-q .icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-base), background var(--t-fast);
}
.faq-q .icon::before {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--c-navy);
  line-height: 1;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--c-mist); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) ease, padding var(--t-base) ease;
}
.faq-a > div {
  padding: 0 0 24px;
  color: var(--c-muted);
  max-width: 700px;
  font-size: 0.98rem;
}
.faq-item.open .faq-a { max-height: 500px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-deep) 100%);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(127, 184, 224, 0.15), transparent 65%);
  border-radius: 50%;
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.cta-band h2 { color: var(--c-white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.78); margin: 0; max-width: 480px; }
.cta-band .btn-primary {
  background: var(--c-white);
  color: var(--c-navy);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.cta-band .btn-primary:hover { background: var(--c-mist); color: var(--c-deep); }
.cta-band .btn-wrap { display: flex; justify-content: flex-end; }
@media (max-width: 720px) {
  .cta-band .container { grid-template-columns: 1fr; }
  .cta-band .btn-wrap { justify-content: flex-start; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-white);
  margin-bottom: 18px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-grid a {
  color: rgba(255,255,255,0.72);
}
.footer-grid a:hover { color: var(--c-sky); }
.footer-brand .logo {
  color: var(--c-white);
  margin-bottom: 16px;
  display: inline-block;
}
.footer-brand .logo small {
  color: rgba(255,255,255,0.5);
  border-color: rgba(255,255,255,0.2);
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  max-width: 320px;
  font-size: 0.92rem;
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px;
  bottom: 20px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 200;
  max-width: 920px;
  margin: 0 auto;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 380ms cubic-bezier(.4,.0,.2,1), opacity 380ms;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--c-muted);
  flex: 1;
  min-width: 240px;
}
.cookie-banner p a { color: var(--c-navy); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Page header (non-home) ---------- */
.page-head {
  padding: 90px 0 60px;
  background: linear-gradient(180deg, var(--c-cloud) 0%, var(--c-paper) 100%);
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(58, 134, 199, 0.1), transparent 70%);
  border-radius: 50%;
}
.page-head .container { position: relative; }
.page-head h1 { margin-bottom: 14px; }
.page-head p {
  max-width: 600px;
  color: var(--c-muted);
  font-size: 1.08rem;
  margin: 0;
}
.breadcrumb {
  font-size: 0.84rem;
  color: var(--c-muted);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--c-navy); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* ---------- About page specifics ---------- */
.story {
  padding-top: clamp(60px, 8vw, 100px);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: flex-start;
}
.story-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-md);
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-text h2 + p { font-size: 1.08rem; color: var(--c-muted); }
.story-text .lead {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--c-deep);
  font-weight: 400;
  padding: 24px 0;
  margin: 30px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  line-height: 1.5;
}
@media (max-width: 820px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-img { position: static; max-width: 460px; margin: 0 auto; }
}

.pillars {
  background: var(--c-cloud);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.pillar {
  background: var(--c-white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar .pill-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--c-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--c-navy);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
}
.pillar h3 { font-size: 1.18rem; }
.pillar p { color: var(--c-muted); font-size: 0.96rem; margin: 0; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 5vw, 70px);
}
.contact-form {
  background: var(--c-white);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.contact-form h2 { margin-bottom: 8px; }
.contact-form > p { color: var(--c-muted); margin-bottom: 28px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-deep);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-paper);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--c-text);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-azure);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(58, 134, 199, 0.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field.error input,
.form-field.error select,
.form-field.error textarea { border-color: #c0392b; background: #fff5f4; }
.form-error {
  display: none;
  color: #c0392b;
  font-size: 0.84rem;
  margin-top: 6px;
}
.form-field.error .form-error { display: block; }
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0 26px;
  font-size: 0.88rem;
  color: var(--c-muted);
}
.form-check input { margin-top: 3px; }
.form-check a { text-decoration: underline; }
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.info-card {
  background: var(--c-white);
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
}
.info-card h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-muted);
  margin: 0 0 8px;
  font-weight: 600;
}
.info-card p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--c-deep);
  font-weight: 500;
  line-height: 1.5;
}
.info-card a { color: var(--c-navy); }

.map-block {
  background: var(--c-mist);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-line);
  background-image:
    linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: var(--c-mist);
  margin-top: 30px;
}
.map-pin {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-navy);
  position: relative;
  box-shadow: 0 0 0 6px rgba(29, 78, 137, 0.2), 0 0 0 14px rgba(29, 78, 137, 0.1);
}
.map-pin::after {
  content: "Málaga · España";
  position: absolute;
  left: 50%;
  top: 36px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--c-deep);
  background: var(--c-white);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Success page ---------- */
.success-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
}
.success-card {
  max-width: 540px;
  margin: 0 auto;
}
.success-check {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--c-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  position: relative;
}
.success-check::before {
  content: "";
  width: 36px; height: 18px;
  border-left: 3px solid var(--c-navy);
  border-bottom: 3px solid var(--c-navy);
  transform: rotate(-45deg) translate(2px, -4px);
  border-radius: 2px;
}
.success-card h1 { margin-bottom: 16px; }
.success-card p {
  color: var(--c-muted);
  font-size: 1.06rem;
  margin-bottom: 36px;
}

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 800px;
  padding: 60px 0 100px;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}
.legal-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--c-deep);
  margin-top: 28px;
}
.legal-content p, .legal-content ul {
  color: var(--c-text);
  font-size: 0.98rem;
  line-height: 1.75;
}
.legal-content ul {
  padding-left: 22px;
}
.legal-content li { margin-bottom: 8px; }
.legal-content .meta {
  font-size: 0.88rem;
  color: var(--c-muted);
  padding: 14px 18px;
  background: var(--c-cloud);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--c-azure);
  margin-bottom: 40px;
}

/* ---------- Utility / reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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