:root {
  --cream: #FBFDFF;
  --tint: #DCE8F8;
  --tint-soft: #EEF4FC;
  --brand: #1E4B9A;
  --brand-dark: #163A78;
  --gold: #D9A93A;
  --ink: #1F2937;
  --muted: #4F5B6B;
  --line: #D5E1F3;
  --sky: #6A9AD8;
  --radius: 20px;
  --shadow: 0 6px 24px rgba(20, 50, 110, .12);
  --font-head: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Trebuchet MS", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 1.125rem/1.65 var(--font-body);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--brand-dark); margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 253, 255, .96); backdrop-filter: blur(6px); border-bottom: 0; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { text-decoration: none; color: var(--brand-dark); display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 700 1.35rem var(--font-head); }
.brand-sub { font-size: .85rem; color: var(--muted); }
nav { display: flex; align-items: center; gap: 4px 18px; }
nav a { text-decoration: none; color: var(--ink); font-size: 1rem; padding: 8px 4px; }
nav a:hover { color: var(--brand); text-decoration: underline; }
.nav-cta { background: var(--brand); color: #fff; padding: 9px 18px; border-radius: 999px; }
nav a.nav-cta:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }
.menu-btn { display: none; background: none; border: 2px solid var(--brand); color: var(--brand-dark); font: 600 1rem var(--font-body); padding: 8px 16px; border-radius: 999px; cursor: pointer; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.btn { display: inline-block; text-decoration: none; font: 700 1.05rem var(--font-body); padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand-dark); border-color: var(--brand); }
.btn-ghost:hover { background: var(--tint-soft); }
.btn-wa { background: var(--gold); color: var(--ink); }
.btn-wa:hover { background: #C4932B; }

/* Hero */
.hero { padding: 48px 0 28px; background: linear-gradient(180deg, var(--tint-soft), var(--cream)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { font: 700 .95rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: .6em; }
.lead { font-size: 1.25rem; color: #2E3A4B; }
.hero-photo { margin: 0; }
.hero-photo img { border-radius: 28px; box-shadow: var(--shadow); border: 6px solid #fff; aspect-ratio: 4 / 3; object-fit: cover; }

/* Trust strip */
.trust { padding: 8px 0 36px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.trust-list li { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px 12px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.trust-list strong { color: var(--brand-dark); font: 700 1rem/1.25 var(--font-head); }
.trust-list span { font-size: .9rem; color: var(--muted); }

/* Sections */
.section { padding: 64px 0; }
.tint { background: var(--tint-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.6em; }
.sub { margin-top: 2em; }

.about-grid { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.portrait { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; border: 6px solid var(--brand); box-shadow: var(--shadow); }

.pull { margin: 1.6em 0 0; padding: 22px 26px; background: #fff; border-left: 8px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.pull p { font: 700 1.4rem/1.4 var(--font-head); color: var(--brand-dark); margin: 0 0 .4em; }
.pull footer { color: var(--muted); font-size: .95rem; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 1.2em; }
.card { background: #fff; border: 2px solid var(--line); border-top: 8px solid var(--gold); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.card:nth-child(2) { border-top-color: var(--brand); }
.card:nth-child(3) { border-top-color: var(--sky); }
.card:nth-child(4) { border-top-color: var(--brand-dark); }
.card p:last-child { margin-bottom: 0; }

.do-list { list-style: none; margin: 1em 0 0; padding: 0; display: grid; gap: 14px; }
.do-list li { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px 18px 14px 56px; position: relative; }
.do-list li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 5px #fff, 0 0 0 3px var(--gold); }
.do-list li:nth-child(even)::before { background: var(--brand); box-shadow: inset 0 0 0 5px #fff, 0 0 0 3px var(--brand); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 18px; border: 5px solid #fff; box-shadow: var(--shadow); background: #fff; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; grid-row: span 2; }
.g-wide img { aspect-ratio: auto; min-height: 100%; }

/* Reviews */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 1.2em; }
.quotes.small { grid-template-columns: repeat(2, 1fr); gap: 14px; }
blockquote { margin: 0; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 24px 26px 18px; box-shadow: var(--shadow); position: relative; }
.quotes > blockquote:nth-child(odd) { border-top: 8px solid var(--gold); }
.quotes > blockquote:nth-child(even) { border-top: 8px solid var(--brand); }
blockquote p { font-size: 1.15rem; line-height: 1.55; margin: 0 0 .7em; }
blockquote footer { font-weight: 700; color: var(--brand-dark); }
.quotes.small blockquote p { font-size: 1.02rem; }
.more { margin-top: 1.6em; }
.more summary { cursor: pointer; font: 700 1.05rem var(--font-body); color: var(--brand-dark); padding: 10px 0; }
.fine { font-size: .9rem; color: var(--muted); margin-top: 1.4em; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; margin: 1.2em 0 0; }
.facts div { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.facts dt { font: 700 1.05rem var(--font-head); color: var(--brand-dark); margin-bottom: .25em; }
.facts dd { margin: 0; }

.contact { background: var(--brand); color: #fff; }
.contact h2, .contact .lead { color: #fff; }
.contact .btn-primary { background: #fff; color: var(--brand-dark); }
.contact .btn-primary:hover { background: var(--tint-soft); }
.contact .btn-ghost { color: #fff; border-color: #fff; }
.contact .btn-ghost:hover { background: rgba(255,255,255,.15); }
.contact a:focus-visible { outline-color: #fff; }

.pt h2 { font-size: 1.6rem; }

.site-footer { background: #12285A; color: #E6EEFB; padding: 28px 0 90px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 .4em; }


/* Mobile bar */
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-list li:last-child { grid-column: span 2; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cards, .quotes, .quotes.small, .facts { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .menu-btn { display: inline-block; }
  nav { display: none; position: absolute; top: 71px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--cream); padding: 12px 20px 20px; border-bottom: 3px solid var(--brand); box-shadow: var(--shadow); }
  nav.open { display: flex; }
  nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0; }
  .about-grid { display: block; }
  .about-grid::after { content: ""; display: block; clear: both; }
  .portrait { float: left; width: 112px; height: 112px; margin: 4px 16px 8px 0; border-width: 4px; }
  .about-grid h1, .about-grid h2 { margin-top: 0; }
  .section { padding: 48px 0; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  .mobile-bar a { text-align: center; padding: 16px; font: 700 1.05rem var(--font-body); text-decoration: none; color: #fff; background: var(--brand); }
  .mobile-bar a + a { background: var(--gold); color: var(--ink); }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .g-wide { grid-column: auto; grid-row: auto; }
  .btn { width: 100%; text-align: center; }
  .actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Multi-page additions */
.brand { flex-direction: row; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand); background: #fff; }
nav a[aria-current="page"]:not(.nav-cta) { color: var(--brand-dark); font-weight: 700; box-shadow: inset 0 -3px 0 var(--brand); }
nav a.nav-cta[aria-current="page"] { background: var(--brand-dark); }
.section h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.foot-nav { line-height: 2; }
.pager { padding: 8px 0 56px; }
.pager .wrap { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.pager-next { display: flex; align-items: center; gap: 16px; text-decoration: none; background: var(--brand); color: #fff; padding: 22px 28px; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s ease, background .15s ease; }
.pager-next:hover { background: var(--brand-dark); transform: translateY(-2px); }
.pager-next span:first-child { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.pager-next strong { font: 700 1.4rem var(--font-head); flex: 1; }
.pager-next .arrow { font-size: 1.8rem; }
.pager-back { color: var(--brand-dark); text-decoration: none; font-weight: 600; padding: 6px 2px; }
.pager-back:hover { text-decoration: underline; }
.hero + .trust { margin-top: 0; }
@media (max-width: 760px) {
  .brand-photo { width: 44px; height: 44px; }
  .brand-name { font-size: 1.2rem; }
  .pager-next { padding: 18px 20px; }
  .pager-next strong { font-size: 1.2rem; }
}

.lang { order: 3; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 6px 12px; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.lang:hover { border-color: var(--brand); }
.lang svg { border-radius: 3px; display: block; }
.pt-list { padding-left: 1.2em; }
.pt-list li { margin-bottom: .8em; }
@media (max-width: 760px) {
  .lang { order: 0; margin-left: auto; padding: 5px 10px; }
  .lang span { font-size: .85rem; }
}
@media (max-width: 480px) {
  .brand-sub { display: none; }
  .brand-name { white-space: nowrap; }
  .lang span { display: none; }
}

/* Azulejo tile strip under the header */
.site-header::after { content: ""; display: block; height: 14px; background: var(--tint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cg fill='none' stroke='%231E4B9A' stroke-width='1.4'%3E%3Ccircle cx='14' cy='7' r='4.4'/%3E%3Cpath d='M14 .8v12.4M7.8 7h12.4'/%3E%3C/g%3E%3Ccircle cx='14' cy='7' r='1.6' fill='%231E4B9A'/%3E%3Cpath d='M0 0l3 3M28 0l-3 3M0 14l3-3M28 14l-3-3' stroke='%236A9AD8' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x center; border-bottom: 2px solid var(--brand); }
.pager { padding-top: 36px; }

/* Collapse the menu below 1100px so the links never wrap; dropdown sits under the tile strip */
@media (max-width: 1180px) {
  .menu-btn { display: inline-block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--cream); padding: 12px 20px 20px; border-bottom: 3px solid var(--brand); box-shadow: var(--shadow); }
  nav.open { display: flex; }
  nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  nav a:not(.nav-cta)[aria-current="page"] { box-shadow: none; }
  .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0; }
  .lang { order: 0; margin-left: auto; }
}
.callout { background: #fff; border: 2px solid var(--line); border-left: 8px solid var(--brand); border-radius: var(--radius); padding: 20px 24px; margin-top: 24px; box-shadow: var(--shadow); }
.callout h3 { margin-top: 0; }
.callout ul { margin: .6em 0 0; padding-left: 1.2em; }
.trust-list li a { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.trust-list li a:hover strong { text-decoration: underline; }
.highlight { background: var(--brand); color: #fff; padding: 14px 0; text-align: center; }
.highlight p { margin: 0; font-size: 1.1rem; }
.highlight a { color: #fff; font-weight: 700; margin-left: .4em; white-space: nowrap; }
.highlight strong { color: #FFE08A; }
#faq h3 { font-size: 1.15rem; margin: 1.4em 0 .2em; }
#faq p { margin-bottom: .4em; }
.trust { padding-top: 24px; }

nav a { white-space: nowrap; }
nav { gap: 4px 16px; }
.brand-sub { white-space: nowrap; }
.runner { margin: 1.6em 0 0; }
.runner img { border-radius: var(--radius); box-shadow: var(--shadow); border: 6px solid #fff; width: 100%; height: auto; }
