:root {
  --teal: #0E6F63;
  --teal-dark: #09584F;
  --beige: #F5F0EB;
  --ink: #1E2E26;
  --muted: #66736C;
  --line: #DDE4DF;
  --white: #FFFFFF;
  --shadow: 0 24px 70px rgba(18, 50, 42, .12);
  --radius: 22px;
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus { left: 20px; top: 20px; z-index: 9999; background: #fff; padding: 10px 14px; border-radius: 8px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(14,111,99,.08); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; letter-spacing: .08em; }
.brand-mark { font-family: var(--serif); font-size: 27px; color: var(--teal); font-weight: 700; }
.brand-text { font-size: 10px; margin-top: 6px; font-weight: 700; letter-spacing: .25em; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--teal); transition: width .2s ease; }
.main-nav a:hover::after { width: 100%; }
.nav-cta { padding: 11px 17px; border: 1px solid var(--teal); border-radius: 999px; color: var(--teal); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

.hero { background: var(--beige); overflow: hidden; position: relative; }
.hero::after { content: "MRA"; position: absolute; right: -35px; bottom: -95px; font-family: var(--serif); font-size: clamp(170px, 24vw, 360px); color: rgba(14,111,99,.055); font-weight: 700; line-height: 1; }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.eyebrow { color: var(--teal); font-size: 12px; letter-spacing: .2em; font-weight: 800; margin: 0 0 20px; }
.eyebrow.light { color: #DDEFEA; }
h1, h2, h3 { margin-top: 0; }
h1, h2 { font-family: var(--serif); letter-spacing: -.025em; }
h1 { font-size: clamp(48px, 6vw, 78px); line-height: 1.08; margin-bottom: 24px; max-width: 820px; }
h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.15; margin-bottom: 20px; }
.hero-lead { font-size: 19px; max-width: 700px; color: #42534B; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 12px 28px rgba(14,111,99,.2); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { border: 1px solid #B7C6BE; }
.btn-light { background: #fff; color: var(--teal-dark); }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 36px; color: var(--muted); font-size: 14px; }
.hero-meta span::before { content: "•"; color: var(--teal); margin-right: 8px; }
.hero-panel { display: flex; justify-content: center; }
.legal-card { width: min(100%, 420px); min-height: 500px; padding: 42px; background: var(--teal); color: #fff; border-radius: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.legal-card::before { content: "§"; position: absolute; top: 25px; right: 40px; font-family: var(--serif); font-size: 150px; color: rgba(245,240,235,.11); }
.legal-card-kicker { font-family: var(--serif); font-size: 70px; color: var(--beige); font-weight: 700; margin-bottom: auto; }
.legal-card p { font-family: var(--serif); font-size: 26px; line-height: 1.4; }
.legal-card-line { width: 52px; height: 2px; background: var(--beige); margin: 18px 0; }
.legal-card small { color: #D7E8E4; }

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-grid div { padding: 26px 30px; display: flex; gap: 16px; align-items: center; border-right: 1px solid var(--line); }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { color: var(--teal); font-family: var(--serif); }
.trust-grid span { font-size: 14px; }

.section { padding: 105px 0; }
.section-soft { background: #F7F9F8; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.section-heading h2 { max-width: 650px; }
.centered { text-align: center; max-width: 800px; margin: 0 auto 55px; }
.section-copy { font-size: 18px; color: #415149; }
.section-copy p { margin-top: 0; margin-bottom: 18px; }
.text-link { color: var(--teal); font-weight: 800; display: inline-flex; gap: 10px; align-items: center; margin-top: 12px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; padding: 30px; min-height: 290px; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(20,50,40,.08); border-color: #BDD0C8; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--beige); color: var(--teal); font-family: var(--serif); font-weight: 700; margin-bottom: 24px; }
.service-card h3 { font-family: var(--serif); font-size: 23px; margin-bottom: 12px; }
.service-card p { margin: 0; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.team-card { display: grid; grid-template-columns: 86px 1fr; gap: 24px; align-items: start; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; }
.team-initials { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--beige); font-family: var(--serif); font-weight: 700; font-size: 24px; }
.team-card h3 { font-family: var(--serif); font-size: 25px; margin-bottom: 5px; }
.team-role { color: var(--teal) !important; font-weight: 700; margin: 0 0 10px !important; }
.team-card p { color: var(--muted); margin: 0; }

.method-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.method-visual { background: var(--beige); border-radius: 30px; min-height: 440px; padding: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.big-number { font-family: var(--serif); font-size: 190px; line-height: .9; color: var(--teal); }
.method-visual p { max-width: 220px; font-weight: 700; }
.method-list { display: grid; gap: 34px; }
.method-item { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.method-item span { color: var(--teal); font-weight: 800; }
.method-item h3 { font-family: var(--serif); font-size: 25px; margin-bottom: 8px; }
.method-item p { margin: 0; color: var(--muted); }

.cta-band { background: var(--teal); color: #fff; padding: 70px 0; }
.cta-inner { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.cta-inner h2 { max-width: 760px; margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.contact-details { display: grid; gap: 18px; margin-top: 34px; }
.contact-details div { padding-top: 16px; border-top: 1px solid var(--line); }
.contact-details span { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.contact-details a { color: var(--teal); font-weight: 700; }
.contact-details p { margin: 0; }
.small-link { display: inline-block; margin-top: 5px; font-size: 14px; }
.contact-form { display: grid; gap: 16px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 20px 60px rgba(26,54,45,.06); }
.contact-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid #CCD8D2; background: #FBFCFB; border-radius: 12px; padding: 13px 14px; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 2px solid rgba(14,111,99,.18); border-color: var(--teal); }
.check-row { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 500 !important; }
.check-row input { width: 18px; margin-top: 4px; }
.check-row a { color: var(--teal); text-decoration: underline; }
.form-note { margin: 0; color: var(--muted); font-size: 12px; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; background: var(--teal); color: #fff; font-weight: 800; padding: 13px 18px; border-radius: 999px; box-shadow: 0 14px 35px rgba(14,111,99,.28); }

.site-footer { background: #15231E; color: #E8EFEB; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: end; }
.brand-footer .brand-mark { color: var(--beige); }
.site-footer p { color: #AFC0B8; max-width: 560px; }
.footer-links { display: flex; justify-content: flex-end; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.social-pending { color: #AFC0B8; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; margin-top: 20px; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.legal-page { max-width: 900px; padding: 80px 0 120px; }
.legal-page h1 { font-size: clamp(38px,5vw,62px); }
.legal-page h2 { font-size: 28px; margin-top: 42px; }
.legal-page h3 { font-family: var(--serif); font-size: 21px; margin-top: 28px; }
.legal-page p, .legal-page li { color: #4B5A53; }
.legal-page a { color: var(--teal); text-decoration: underline; }
.legal-note { background: var(--beige); border-left: 4px solid var(--teal); padding: 18px 20px; margin: 28px 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.legal-table th, .legal-table td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }

@media (max-width: 980px) {
  .hero-grid, .two-col, .method-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-grid { padding: 90px 0; min-height: auto; }
  .hero-panel { justify-content: flex-start; }
  .legal-card { min-height: 390px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid div:last-child { border-bottom: 0; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { height: 72px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 20px 24px; flex-direction: column; align-items: stretch; gap: 10px; display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 2px; }
  .nav-cta { text-align: center; margin-top: 6px; }
  h1 { font-size: clamp(42px, 13vw, 62px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .legal-card { padding: 30px; min-height: 340px; }
  .legal-card-kicker { font-size: 56px; }
  .legal-card p { font-size: 22px; }
  .section { padding: 78px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .team-card { grid-template-columns: 1fr; }
  .method-visual { min-height: 320px; }
  .big-number { font-size: 140px; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .whatsapp-float { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* V3 · identidad visual con logo y retratos reales */
.site-header {
  background: rgba(8, 79, 71, .98);
  border-bottom: 1px solid rgba(245,240,235,.14);
  box-shadow: 0 8px 30px rgba(9,48,43,.08);
}
.brand-logo {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(--beige);
  letter-spacing: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
}
.brand-logo img {
  width: 72px;
  height: 46px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  mix-blend-mode: screen;
}
.main-nav { color: #F8F5F0; }
.main-nav a:not(.nav-cta)::after { background: #DCC48D; }
.nav-cta {
  border-color: #E5D6B8;
  color: #17352F;
  background: #F1E5CD;
}
.menu-toggle span { background: #F8F5F0; }

.hero {
  background: linear-gradient(115deg, #F7F2EC 0%, #F5F0EB 58%, #E9E1D7 100%);
}
.hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; }
.hero-panel { min-width: 0; }
.hero-portraits {
  width: min(100%, 520px);
  height: 560px;
  position: relative;
  margin-left: auto;
}
.hero-portrait {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 5px solid rgba(255,255,255,.86);
  box-shadow: 0 28px 70px rgba(27,48,41,.18);
  background: #ddd;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait-alvaro {
  width: 57%;
  height: 86%;
  left: 0;
  bottom: 0;
}
.hero-portrait-rebeca {
  width: 55%;
  height: 81%;
  right: 0;
  top: 0;
}
.hero-seal {
  position: absolute;
  left: 42%;
  bottom: 42px;
  transform: translateX(-50%);
  min-width: 205px;
  padding: 15px 18px;
  border-radius: 16px;
  background: rgba(8,79,71,.94);
  color: #fff;
  box-shadow: 0 14px 35px rgba(9,48,43,.20);
}
.hero-seal strong { display: block; font-family: var(--serif); font-size: 25px; color: #F1E5CD; }
.hero-seal span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #E7F0ED; }

.team-grid { max-width: 1080px; }
.team-card-photo {
  grid-template-columns: 180px 1fr;
  padding: 0;
  min-height: 245px;
  overflow: hidden;
  align-items: stretch;
}
.team-photo {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
  object-position: center 23%;
}
.team-info {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.team-info h3 { font-size: 28px; margin-bottom: 10px; }
.team-role { margin: 0 !important; }

.brand-footer.brand-logo img { mix-blend-mode: screen; }
.brand-footer.brand-logo { color: #F1E5CD; }

@media (max-width: 980px) {
  .hero-portraits { margin: 0 auto; height: 520px; }
}

@media (max-width: 760px) {
  .brand-logo { font-size: 18px; gap: 7px; }
  .brand-logo img { width: 58px; height: 38px; }
  .main-nav { background: #0A5A51; color: #fff; }
  .hero-portraits { height: 440px; }
  .hero-portrait-alvaro { width: 60%; height: 83%; }
  .hero-portrait-rebeca { width: 58%; height: 78%; }
  .hero-seal { left: 50%; bottom: 18px; min-width: 190px; }
  .team-card-photo { grid-template-columns: 130px 1fr; }
  .team-photo { min-height: 210px; }
  .team-info { padding: 24px 20px; }
  .team-info h3 { font-size: 23px; }
}

@media (max-width: 520px) {
  .brand-logo span { display: none; }
  .team-card-photo { grid-template-columns: 1fr; }
  .team-photo { height: 320px; }
}
