*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0f1f4b;
  --navy-mid:  #1a2f6b;
  --navy-light:#243580;
  --gold:      #c9a84c;
  --gold-light:#e2c06a;
  --cream:     #f5f0e8;
  --white:     #ffffff;
  --text-dark: #1a1a2e;
  --text-mid:  #3d3d5c;
  --text-light:#7a7a9a;
  --border:    rgba(201,168,76,0.3);
  --shadow:    0 8px 40px rgba(10,20,60,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ── HEADER / NAV ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,31,75,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
}
.logo-shield {
  width: 42px; height: 42px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 18%, 100% 68%, 50% 100%, 0% 68%, 0% 18%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700;
  color: var(--navy); flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-text strong {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 1.15rem; letter-spacing: 0.04em; color: var(--white);
}
.logo-text span { font-size: 0.65rem; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; }

nav { display: flex; align-items: center; gap: 0.2rem; }
nav a {
  color: rgba(255,255,255,0.82); text-decoration: none;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.45rem 0.85rem;
  border-radius: 4px; transition: color 0.2s, background 0.2s;
}
nav a:hover { color: var(--gold); background: rgba(201,168,76,0.1); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
  background: var(--navy); padding: 1.5rem 2rem;
  border-bottom: 2px solid var(--gold);
  flex-direction: column; gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu a:last-child { border-bottom: none; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(10,18,52,0.93) 0%, rgba(26,43,107,0.88) 60%, rgba(10,18,52,0.97) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%231a2f6b'/%3E%3Cstop offset='1' stop-color='%230a1234'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='800' height='600'/%3E%3Ccircle cx='600' cy='150' r='220' fill='%23ffffff08'/%3E%3Ccircle cx='100' cy='450' r='180' fill='%23ffffff05'/%3E%3C/svg%3E") center/cover;
  display: flex; align-items: center;
  padding: 9rem 2rem 5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(201,168,76,0.04) 60px),
                    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(201,168,76,0.04) 60px);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 420px; gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(201,168,76,0.12); border: 1px solid var(--border);
  color: var(--gold); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.45rem 1rem; border-radius: 2px; margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700; color: var(--white);
  line-height: 1.12; margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.78);
  line-height: 1.75; max-width: 540px; margin-bottom: 2.5rem; font-weight: 300;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--navy);
  font-family: 'Raleway', sans-serif; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.9rem 2rem; border-radius: 3px; text-decoration: none;
  transition: background 0.2s, transform 0.15s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: var(--white);
  font-family: 'Raleway', sans-serif; font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.9rem 2rem; border-radius: 3px; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* Hero contact card */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(10px);
}
.hero-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold); font-size: 1.1rem; margin-bottom: 1.5rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.3rem; }
.contact-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(201,168,76,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.contact-item p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 0.15rem; }
.contact-item a, .contact-item strong {
  color: var(--white); font-size: 0.95rem; font-weight: 500; text-decoration: none;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--gold); }
.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  width: 100%; background: #25d366; color: var(--white);
  font-family: 'Raleway', sans-serif; font-size: 0.83rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.85rem; border-radius: 4px; text-decoration: none;
  margin-top: 1.5rem; transition: background 0.2s;
}
.wa-btn:hover { background: #1fb855; }
.wa-btn svg { width: 20px; height: 20px; fill: white; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--gold); padding: 1rem 2rem; }
.trust-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--navy); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.trust-item svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 2.2; }

/* ── SECTION BASE ── */
section { padding: 6rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-label::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 1.2rem;
}
h2.section-title span { color: var(--gold); }
.section-desc {
  font-size: 1rem; color: var(--text-mid); line-height: 1.8;
  max-width: 600px; font-weight: 300;
}

/* ── NOSOTROS ── */
#nosotros { background: var(--cream); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-badge {
  background: var(--navy); border: 3px solid var(--gold);
  border-radius: 8px; padding: 3rem 2.5rem; text-align: center; position: relative;
}
.about-badge::before {
  content: '❝'; font-family: 'Playfair Display', serif;
  font-size: 5rem; color: var(--gold); opacity: 0.18;
  position: absolute; top: -1rem; left: 1rem; line-height: 1;
}
.about-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem; font-weight: 700; color: var(--gold); line-height: 1;
}
.about-badge-label {
  color: var(--white); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.5rem;
}
.about-badge-divider { width: 40px; height: 2px; background: var(--gold); margin: 1.5rem auto; }
.about-badge-desc { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.6; }
.about-accent-box {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--gold); padding: 1.2rem 1.5rem;
  border-radius: 6px; text-align: center; min-width: 130px;
}
.about-accent-box strong { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--navy); }
.about-accent-box span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.about-visual { position: relative; }
.about-text .perks { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.perk { display: flex; align-items: flex-start; gap: 1rem; }
.perk-dot { width: 10px; height: 10px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.perk h4 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.perk p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }

/* ── SERVICIOS ── */
#servicios { background: var(--white); }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3.5rem;
}
.service-card {
  border: 1px solid #e0ddd8; border-radius: 8px; padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  background: var(--white);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.pack-badge {
  display: inline-block; background: var(--navy); color: var(--gold);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 2px; margin-bottom: 1.2rem;
}
.service-icon {
  width: 54px; height: 54px; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--navy); margin-bottom: 0.8rem; }
.service-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; }
.service-highlight {
  margin-top: 1.2rem; padding: 0.8rem 1rem;
  background: rgba(201,168,76,0.08); border-left: 3px solid var(--gold);
  font-size: 0.83rem; color: var(--navy); font-weight: 500; border-radius: 0 4px 4px 0;
}

/* ── TITULAR ── */
#titular { background: var(--navy); }
.titular-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
#titular .section-label { color: var(--gold); }
#titular h2.section-title { color: var(--white); }
#titular .section-desc { color: rgba(255,255,255,0.65); }
.titular-cards { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.titular-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(201,168,76,0.25);
  border-radius: 6px; padding: 1.2rem 1.5rem;
  display: flex; align-items: center; gap: 1.2rem;
}
.titular-card svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.titular-card p { font-size: 0.88rem; color: rgba(255,255,255,0.78); line-height: 1.5; }
.titular-card strong { color: var(--gold); }
.profile-box {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 10px; padding: 3rem 2.5rem; text-align: center;
}
.profile-avatar {
  width: 110px; height: 110px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--navy-light) 100%);
  border-radius: 50%; margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 2.5rem;
  color: var(--white); border: 3px solid var(--gold);
}
.profile-box h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--white); margin-bottom: 0.3rem; }
.profile-box .subtitle { color: var(--gold); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.profile-divider { width: 40px; height: 2px; background: var(--gold); margin: 0 auto 1.5rem; }
.profile-box p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.75; }

/* ── POR QUÉ ── */
#porque { background: var(--cream); }
.porque-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.porque-card {
  background: var(--white); border-radius: 8px; padding: 2.5rem 1.8rem;
  text-align: center; box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.porque-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.porque-icon {
  width: 64px; height: 64px; margin: 0 auto 1.5rem;
  background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.porque-icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.porque-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 0.8rem; }
.porque-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; }

/* ── CONTACTO ── */
#contacto { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.8rem; }
.ci-item { display: flex; align-items: flex-start; gap: 1.2rem; }
.ci-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--navy); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.ci-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.ci-item h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.ci-item p, .ci-item a { font-size: 0.95rem; color: var(--text-dark); font-weight: 500; text-decoration: none; }
.ci-item a:hover { color: var(--gold); }

/* FORM */
.contact-form-box { background: var(--navy); border-radius: 10px; padding: 3rem 2.5rem; }
.contact-form-box h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--white); margin-bottom: 0.5rem; }
.contact-form-box p { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
input, select, textarea {
  width: 100%; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.3); border-radius: 4px;
  color: var(--white); font-family: 'Raleway', sans-serif;
  font-size: 0.9rem; padding: 0.75rem 1rem;
  transition: border-color 0.2s, background 0.2s; outline: none;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.3); }
input:focus, select:focus, textarea:focus { border-color: var(--gold); background: rgba(255,255,255,0.12); }
select option { background: var(--navy); color: var(--white); }
textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; background: var(--gold); color: var(--navy);
  font-family: 'Raleway', sans-serif; font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 1rem; border: none; border-radius: 4px; cursor: pointer;
  transition: background 0.2s, transform 0.15s; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-2px); }
.form-note { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 0.8rem; text-align: center; }

/* ── FOOTER ── */
footer { background: #080f28; padding: 3.5rem 2rem 0; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(201,168,76,0.2);
}
footer h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.7; margin-top: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.87rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.8rem; }
.fc-item { display: flex; gap: 0.7rem; align-items: flex-start; }
.fc-item svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.fc-item a, .fc-item span { color: rgba(255,255,255,0.55); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.fc-item a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.78rem; }
.footer-bottom a { color: rgba(201,168,76,0.7); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ── WA FLOAT ── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-float svg { width: 30px; height: 30px; fill: white; }
.wa-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 3px solid #25d366; animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-card { max-width: 480px; }
  .about-grid, .titular-grid, .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .porque-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .porque-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-bar-inner { gap: 1.5rem; }
  .hero { padding: 8rem 1.5rem 4rem; }
  section { padding: 4rem 1.5rem; }
  .about-accent-box { right: 0; }
}
