@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --ink: #152e4c;
  --deep: #102943;
  --blue: #315d98;
  --cream: #f9f7f2;
  --mist: #ecf3f5;
  --line: #b9ced7;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --page-pad: clamp(1rem, 5vw, 5.8rem);
  --section-space: clamp(4.5rem, 8vw, 8rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #ffbd6f; outline-offset: 4px; }
.skip-link { position: absolute; top: -6rem; left: 1rem; z-index: 20; padding: .7rem 1rem; background: var(--deep); color: #fff; }
.skip-link:focus { top: 1rem; }

.site-header { min-height: 100px; padding: 1.15rem var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--cream); position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: .85rem; min-width: 0; line-height: 1.1; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 47px; height: 47px; border: 1px solid var(--ink); border-radius: 50%; font: italic 2.4rem/.8 var(--serif); padding-bottom: .35rem; flex-shrink: 0; }
.brand-mark span { color: #729fc8; }
.brand-name { font-size: clamp(1.35rem, 1.8vw, 1.65rem); letter-spacing: -.035em; font-weight: 500; }
.brand-name strong { font-weight: 700; }
.brand-name small { display: block; margin-top: .3rem; font-size: .75rem; letter-spacing: .055em; text-transform: uppercase; font-weight: 600; }
.site-header nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem); font-size: .92rem; font-weight: 600; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.site-header nav a:not(.nav-contact):hover { text-decoration: underline; text-underline-offset: .3rem; }
.nav-contact { border: 1px solid var(--ink); border-radius: 30px; padding: .55rem 1.1rem; transition: background .2s, color .2s; }
.nav-contact:hover { background: var(--ink); color: #fff; }

.hero { min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); background: var(--mist); }
.hero-copy { min-width: 0; padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 4vw, 4rem) 4rem clamp(1.5rem, 8vw, 8.5rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 2rem; font-size: .875rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.small-line { width: 26px; height: 1px; background: currentColor; flex-shrink: 0; }
.hero h1, .about h2, .approach h2, .themes h2, .closing h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.048em; line-height: 1.08; }
.hero h1 { font-size: clamp(3.3rem, 5.5vw, 6rem); }
.hero h1 span, .about h2 em, .themes h2 em { color: var(--blue); }
.about h2 em, .approach h2 em, .themes h2 em, .closing h2 em { font-weight: 400; }
.hero-intro { max-width: 34rem; margin: 2rem 0 1rem; font-size: clamp(1rem, 1.2vw, 1.16rem); line-height: 1.65; }
.service-location { margin: 0 0 1.5rem; font-size: .9rem; font-weight: 700; color: var(--blue); }
.text-link { min-height: 48px; display: inline-flex; align-items: center; gap: 1rem; border-bottom: 1px solid currentColor; font-size: .95rem; font-weight: 700; }
.text-link span { font-size: 1.2rem; transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }
.hero-art { position: relative; min-height: 620px; overflow: hidden; background: #a6c5d8; }
.hero-image-wrap { position: absolute; inset: 0; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 23%; filter: saturate(.82); }

.intro-band { position: relative; overflow: hidden; padding: clamp(3.7rem, 7vw, 6rem) var(--page-pad) clamp(6.5rem, 10vw, 10rem); display: grid; grid-template-columns: minmax(10rem, 18%) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); background-color: #d4e7ee; background-image: linear-gradient(90deg, rgba(238,247,250,.94), rgba(238,247,250,.72)), url('/images/ceu-calmo.png'); background-size: cover; background-position: center 58%; }
.band-kicker { padding-top: .6rem; font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.intro-band p { max-width: 25ch; margin: 0; font: 400 clamp(1.85rem, 3vw, 3.2rem)/1.23 var(--serif); letter-spacing: -.025em; }
.wave { display: block; position: absolute; left: 0; width: 100%; pointer-events: none; }
.wave path { fill: currentColor; }
.wave-bottom { bottom: -1px; height: clamp(48px, 7vw, 100px); color: var(--cream); }
.wave-top { top: -1px; height: clamp(48px, 7vw, 100px); color: var(--cream); z-index: 1; }

.content-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(110px, 16%) minmax(0, 1fr); gap: clamp(2rem, 4vw, 5rem); padding-left: var(--page-pad); padding-right: var(--page-pad); }
.section-side { display: flex; align-items: flex-start; gap: .75rem; padding-top: 1rem; color: var(--blue); font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.section-number { font: 400 1.12rem/1 var(--serif); color: var(--ink); }
.about { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.about-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .8fr); align-items: end; gap: clamp(2rem, 4vw, 4rem); margin-bottom: 3.5rem; }
.about h2, .approach h2, .themes h2, .closing h2 { font-size: clamp(3rem, 5vw, 6rem); }
.about .lead { max-width: 28rem; margin: 0 0 .25rem; font: 400 clamp(1.2rem, 1.65vw, 1.55rem)/1.43 var(--serif); }
.about-bottom { display: grid; grid-template-columns: minmax(240px, .82fr) minmax(260px, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.about-image-wrap { height: clamp(430px, 42vw, 620px); overflow: hidden; background: #e8e8eb; border-radius: 220px 220px 4px 4px; }
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.about-details { max-width: 36rem; }
.about-details > p:first-child { margin: 0 0 2.2rem; font-size: 1.1rem; line-height: 1.7; }
.credentials { border-top: 1px solid var(--line); }
.credentials p { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: .97rem; line-height: 1.5; }
.credentials span { color: var(--blue); font-size: .875rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.credential-note { margin: 1.3rem 0 0; font-size: .9rem; color: #425b70; }

.approach { position: relative; overflow: hidden; padding-top: clamp(8rem, 12vw, 11rem); padding-bottom: var(--section-space); color: #e8f2f4; background-color: var(--deep); background-image: linear-gradient(110deg, rgba(8,29,51,.94), rgba(8,29,51,.84)), url('/images/mar-vivo.png'); background-size: cover; background-position: center; }
.approach-inner { position: relative; z-index: 1; }
.approach .section-side, .approach .section-number { color: #b9dced; }
.eyebrow.light { color: #b9dced; }
.approach h2 { max-width: 64rem; }
.approach h2 em, .closing h2 em { color: #c2e2ef; }
.approach-columns { max-width: 68rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); margin-top: 3rem; }
.approach-columns p { max-width: 53ch; margin: 0; color: #ecf4f7; font-size: 1.07rem; line-height: 1.75; }

.themes { padding-top: var(--section-space); padding-bottom: var(--section-space); background: #f4f7f6; }
.themes-top { margin-bottom: 2.5rem; }
.themes-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); max-width: 68rem; padding-top: 2rem; border-top: 1px solid #b7cbd0; }
.themes-copy p { max-width: 53ch; margin: 0; font-size: 1.08rem; line-height: 1.72; color: #304b62; }

.closing { position: relative; overflow: hidden; min-height: 540px; padding: clamp(5.5rem, 9vw, 9rem) var(--page-pad); color: #fff; background-color: #16426e; background-image: linear-gradient(90deg, rgba(10,39,68,.88), rgba(10,39,68,.65)), url('/images/mar-vivo.png'); background-size: cover; background-position: center 65%; border-radius: clamp(30px, 5vw, 82px) clamp(30px, 5vw, 82px) 0 0; }
.closing-content { position: relative; max-width: 70rem; }
.closing h2 { margin-bottom: 1.75rem; }
.closing-content > p:not(.eyebrow) { max-width: 34rem; margin: 0; color: #eef5f8; font-size: 1.1rem; line-height: 1.7; }
.closing-orbit { position: absolute; right: -3vw; top: 50%; transform: translateY(-50%); font: italic clamp(22rem, 52vw, 55rem)/1 var(--serif); letter-spacing: -.1em; color: rgba(208,232,244,.07); user-select: none; }
.contact-whatsapp { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 50px; margin-top: 1.7rem; padding: .8rem 1.2rem; border-radius: 50px; background: #e6f2f5; color: var(--deep); font-size: .95rem; font-weight: 700; line-height: 1.4; transition: background .2s, transform .2s; }
.contact-whatsapp:hover { background: #fff; transform: translateY(-2px); }
.contact-whatsapp span { font-size: 1.2rem; }
.contact-number { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; margin-top: 1.5rem; }
.contact-number span { color: #d5e9f2; font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-number strong { font: 400 clamp(1.8rem, 3vw, 2.6rem) var(--serif); letter-spacing: -.03em; }
.site-footer { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding: 3rem var(--page-pad); background: var(--deep); color: #e7f1f5; font-size: .9rem; }
.footer-brand { font: italic 2rem var(--serif); white-space: nowrap; }
.footer-brand span { color: #a7d5e8; }
.site-footer p { margin: 0; line-height: 1.6; }
.site-footer > a:last-child { padding-bottom: .2rem; border-bottom: 1px solid rgba(255,255,255,.5); }

@media (max-width: 1100px) {
  .site-header { gap: 1rem; }
  .site-header nav { gap: .8rem; font-size: .84rem; }
  .hero h1 { font-size: clamp(3.1rem, 5.3vw, 4.8rem); }
  .hero-copy { padding-left: var(--page-pad); }
  .about-heading { grid-template-columns: 1fr; }
  .about .lead { max-width: 38rem; }
}

@media (max-width: 750px) {
  :root { --page-pad: clamp(1rem, 5vw, 1.35rem); --section-space: clamp(3.5rem, 9vw, 4.5rem); }
  .site-header { display: block; min-height: 0; padding-block: 1.1rem .8rem; }
  .brand { min-height: 47px; }
  .site-header nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem .6rem; margin-top: .85rem; font-size: .88rem; }
  .site-header nav a { min-height: 44px; padding: .4rem .55rem; white-space: normal; }
  .site-header nav .nav-contact { justify-content: center; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 3.3rem var(--page-pad) 2.7rem; }
  .hero h1 { font-size: clamp(2.7rem, 8.2vw, 4.1rem); }
  .hero h1 br { display: none; }
  .eyebrow { margin-bottom: 1.25rem; }
  .hero-intro { margin-top: 1.45rem; }
  .hero-art { min-height: 0; height: clamp(340px, 105vw, 500px); }
  .hero-image-wrap img { object-position: center 20%; }
  .intro-band { display: block; padding: 3.3rem var(--page-pad) 6rem; }
  .band-kicker { margin-bottom: 1.2rem; padding: 0; }
  .intro-band p { max-width: 25ch; font-size: clamp(1.55rem, 5.5vw, 2.3rem); }
  .wave-bottom, .wave-top { height: clamp(46px, 11vw, 72px); }
  .content-grid { grid-template-columns: 1fr; gap: 1.35rem; }
  .section-side { padding-top: 0; }
  .about-heading { margin-bottom: 2.4rem; }
  .about-bottom { grid-template-columns: 1fr; gap: 2.2rem; }
  .about-image-wrap { width: min(100%, 490px); height: auto; aspect-ratio: 4 / 5; }
  .approach { padding-top: 7rem; }
  .approach-columns, .themes-copy { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2rem; }
  .themes-top { margin-bottom: 1.8rem; }
  .themes-copy { padding-top: 1.6rem; }
  .closing { min-height: 0; padding: 5rem var(--page-pad) 5.5rem; }
  .site-footer { flex-wrap: wrap; align-items: start; padding-block: 2.5rem; }
  .site-footer p { order: 3; width: 100%; }
}

@media (max-width: 540px) {
  .brand-mark { width: 41px; height: 41px; font-size: 2.1rem; }
  .brand-name { font-size: 1.35rem; }
  .hero h1 { font-size: clamp(2.45rem, 9vw, 3.15rem); }
  .about h2, .approach h2, .themes h2, .closing h2 { font-size: clamp(2.65rem, 10vw, 3.5rem); }
  .about .lead { font-size: 1.2rem; }
  .about-image-wrap { aspect-ratio: 4 / 5; }
  .credentials p { grid-template-columns: 1fr; gap: .35rem; }
  .approach-columns p, .themes-copy p { font-size: 1rem; }
  .closing-orbit { display: none; }
  .contact-whatsapp { width: 100%; padding-inline: 1rem; }
  .site-footer { display: block; }
  .site-footer p { margin: 1.4rem 0; }
  .site-footer > a:last-child { display: inline-block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .text-link span, .nav-contact, .contact-whatsapp { transition: none; }
}
