:root {
  --blue: #0a2342;
  --blue-deep: #071b33;
  --blue-mid: #1e4a7f;
  --blue-card: #0c2a4b;
  --mist: #e8eef5;
  --white: #f4f7fb;
  --gold: #b58a52;
  --gold-line: rgba(181, 138, 82, .45);
  --ink-soft: rgba(10, 35, 66, .76);
  --font-sans: "Montserrat", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.remi-site { margin: 0; overflow-x: hidden; background: var(--mist); color: var(--blue); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; }
body.admin-bar .floating-whatsapp { bottom: 46px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote { margin-top: 0; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--gold); color: var(--blue-deep); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 18px; margin: 0; overflow: visible; clip: auto; background: var(--white); color: var(--blue); box-shadow: 0 0 0 2px var(--gold); }

.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.wrap-narrow { width: min(860px, calc(100% - 96px)); margin-inline: auto; }
.section { padding: 120px 0; }
.texture-blue { background-color: var(--blue-deep); background-image: url("../images/texture-blue.jpg"); background-position: center 40%; background-size: cover; }
.navy { background: var(--blue); color: var(--white); }
.deep-navy { background: var(--blue-deep); color: var(--white); }
.eyebrow { margin-bottom: 24px; color: var(--blue-mid); font-size: 13px; font-weight: 400; letter-spacing: 6px; line-height: 1.4; text-transform: uppercase; }
.eyebrow-gold { color: var(--gold); }
.section-header { margin-bottom: 72px; text-align: center; }
.section-header h2 { max-width: 760px; margin: 0 auto; font-size: clamp(2rem, 3.15vw, 2.5rem); font-style: italic; font-weight: 300; line-height: 1.3; }
.section-header.light h2 { color: var(--white); }

.button { display: inline-flex; min-height: 57px; align-items: center; justify-content: center; padding: 15px 40px; border: 1px solid var(--blue); border-radius: 3px; color: var(--blue); font-size: 14px; font-weight: 400; letter-spacing: .5px; line-height: 1.35; text-align: center; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.button:hover, .button:focus-visible { background: var(--blue); color: var(--white); }
.button-light { border-color: rgba(181, 138, 82, .75); color: var(--white); }
.button-light:hover, .button-light:focus-visible { background: rgba(181, 138, 82, .16); border-color: var(--gold); color: var(--white); }

.hero { position: relative; display: flex; min-height: 880px; align-items: center; justify-content: center; overflow: hidden; color: var(--white); text-align: center; }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(110% 85% at 50% 40%, rgba(7, 27, 51, 0) 40%, rgba(7, 27, 51, .55) 100%); }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-block: 96px; }
.hero-logo { width: min(560px, 90%); margin-bottom: 110px; }
.hero .eyebrow { margin-bottom: 24px; letter-spacing: 4px; }
.hero h1 { margin-bottom: 40px; color: var(--white); font-size: clamp(2.4rem, 4.2vw, 2.75rem); font-style: italic; font-weight: 300; letter-spacing: -.3px; line-height: 1.25; }

.pillars { padding-top: 130px; padding-bottom: 110px; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { border: 1px solid var(--gold-line); border-radius: 12px; background: var(--white); }
.pillar-grid .card { min-height: 290px; padding: 40px 32px; }
.pillar-grid .card > span { display: block; margin-bottom: 28px; color: var(--blue-mid); font-family: var(--font-serif); font-size: 22px; font-style: italic; }
.pillar-grid h3 { margin-bottom: 14px; font-size: 19px; font-weight: 400; line-height: 1.4; }
.pillar-grid p { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }

.about { padding-top: 20px; padding-bottom: 130px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.portrait-card { position: relative; display: flex; height: 600px; align-items: flex-end; justify-content: center; overflow: hidden; border-radius: 14px; background: radial-gradient(70% 60% at 50% 40%, var(--blue-mid) 0%, var(--blue) 75%); }
.portrait-card img { width: 92%; max-height: 100%; object-fit: contain; object-position: center bottom; }
.about-copy h2 { margin-bottom: 32px; font-size: clamp(2rem, 3vw, 2.375rem); font-weight: 400; line-height: 1.2; }
.about-copy blockquote { margin-left: 0; margin-bottom: 32px; font-size: clamp(1.35rem, 2.2vw, 1.5rem); font-style: italic; font-weight: 300; line-height: 1.5; }
.gold-rule { width: 100%; height: 1px; margin-bottom: 32px; background: rgba(181, 138, 82, .7); }
.about-copy > p:last-child { max-width: 520px; margin-bottom: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.85; }

.credentials-grid { grid-template-columns: minmax(300px, 440px) minmax(0, 1fr); }
.surgery-card { position: relative; overflow: hidden; border: 1px solid rgba(181, 138, 82, .25); border-radius: 14px; background: var(--blue-card); aspect-ratio: 4 / 5; }
.surgery-card > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.experience-badge { position: absolute; left: 20px; bottom: 20px; padding: 16px 24px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; background: rgba(7, 27, 51, .66); backdrop-filter: blur(8px); }
.experience-badge strong { display: block; color: var(--white); font-size: 32px; font-weight: 300; line-height: 1; }
.experience-badge span { display: block; margin-top: 8px; color: rgba(244, 247, 251, .75); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; }
.credentials-copy h2 { margin-bottom: 44px; color: var(--white); font-size: clamp(1.9rem, 3vw, 2.125rem); font-style: italic; font-weight: 300; line-height: 1.35; }
.association-list { border-top: 1px solid rgba(181, 138, 82, .25); }
.association-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(181, 138, 82, .25); }
.association-list strong { font-family: var(--font-serif); font-size: 40px; font-weight: 500; letter-spacing: 3px; }
.association-list p { margin: 0; color: rgba(244, 247, 251, .7); font-size: 13px; line-height: 1.7; }
.gold-texture { color: var(--gold); background-image: url("../images/texture-gold.jpg"); background-position: 30% 50%; background-size: 420px auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.procedure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; align-items: start; }
.procedure-column h3 { margin: 0; padding-bottom: 20px; border-bottom: 1px solid rgba(181, 138, 82, .7); font-size: 28px; font-style: italic; font-weight: 300; line-height: 1.2; }
.procedure-column ul { margin: 0; padding: 0; list-style: none; }
.procedure-column li { padding: 16px 0; border-bottom: 1px solid var(--gold-line); color: rgba(10, 35, 66, .85); font-size: 15px; line-height: 1.5; }
.procedure-note { margin: 40px 0 0; color: rgba(10, 35, 66, .6); font-size: 13px; letter-spacing: .5px; text-align: center; }

.testimonials { padding-top: 130px; padding-bottom: 130px; }
.review-source { margin: 24px 0 0; color: rgba(244, 247, 251, .55); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.testimonial-card { display: flex; min-height: 565px; flex-direction: column; padding: 40px 36px; border: 1px solid rgba(181, 138, 82, .2); border-radius: 12px; background: var(--blue-card); }
.stars { margin-bottom: 24px; color: var(--gold); font-size: 17px; letter-spacing: 5px; line-height: 1; }
.testimonial-text { color: rgba(244, 247, 251, .88); font-size: 15px; font-weight: 300; line-height: 1.85; }
.testimonial-text p { margin-bottom: 1.25em; }
.testimonial-card footer { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial-card footer span { display: grid; width: 44px; height: 44px; place-items: center; flex: 0 0 44px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: var(--font-serif); font-size: 17px; }
.testimonial-card footer strong { color: var(--gold); font-size: 12px; font-weight: 400; letter-spacing: 2px; }

.location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: min(1144px, 100%); margin-inline: auto; }
.location-card { padding: 40px; text-align: center; }
.location-card h3 { margin-bottom: 14px; font-size: 22px; font-weight: 400; }
.location-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.location-card a { display: inline-block; margin-top: 18px; padding-bottom: 3px; border-bottom: 1px solid var(--blue-mid); color: var(--blue-mid); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }

.closing { position: relative; padding: 150px 48px 56px; color: var(--white); text-align: center; }
.closing-shade { position: absolute; inset: 0; background: rgba(7, 27, 51, .35); }
.closing-content { position: relative; z-index: 1; }
.closing h2 { max-width: 760px; margin: 0 auto 28px; font-size: clamp(2.6rem, 5vw, 3rem); font-style: italic; font-weight: 300; line-height: 1.3; }
.gold-texture-large { background-size: 900px auto; }
.closing-content > p { max-width: 520px; margin: 0 auto 48px; color: rgba(244, 247, 251, .75); font-size: 16px; line-height: 1.7; }
.site-footer { width: min(1240px, 100%); margin: 140px auto 0; padding-top: 56px; border-top: 1px solid rgba(181, 138, 82, .3); }
.site-footer > img { width: min(300px, 80%); margin: 0 auto 36px; }
.footer-phrase { margin-bottom: 32px !important; color: rgba(244, 247, 251, .92) !important; font-family: var(--font-serif); font-size: 20px !important; font-style: italic; }
.footer-details { margin-bottom: 0 !important; color: rgba(244, 247, 251, .55) !important; font-size: 12px !important; letter-spacing: .5px; line-height: 1.9 !important; }
.instagram-link { display: inline-block; margin-top: 20px; color: var(--gold); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.copyright { margin: 28px 0 0 !important; color: rgba(244, 247, 251, .38) !important; font-size: 10px !important; letter-spacing: .8px; }

.floating-whatsapp { position: fixed; z-index: 50; right: 28px; bottom: 28px; display: grid; width: 60px; height: 60px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: var(--blue); color: var(--white); box-shadow: 0 12px 28px rgba(0, 0, 0, .3); transition: transform .2s ease, background-color .2s ease; }
.floating-whatsapp:hover, .floating-whatsapp:focus-visible { transform: translateY(-3px); background: var(--blue-mid); }

.content-fallback { min-height: 70vh; padding: 100px 0; }
.content-fallback h1 { font-family: var(--font-serif); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 500; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 1060px) {
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { gap: 48px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { min-height: auto; }
}

@media (max-width: 820px) {
  .wrap, .wrap-narrow { width: min(100% - 48px, 680px); }
  .section { padding: 88px 0; }
  .hero { min-height: 760px; }
  .hero-logo { width: min(500px, 92%); margin-bottom: 88px; }
  .split { grid-template-columns: 1fr; }
  .about { padding-top: 0; }
  .about-copy { max-width: 620px; }
  .credentials-grid { grid-template-columns: 1fr; }
  .surgery-card { width: min(440px, 100%); margin-inline: auto; }
  .procedure-grid { grid-template-columns: 1fr 1fr; }
  .procedure-column:last-child { grid-column: 1 / -1; }
  .location-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap, .wrap-narrow { width: calc(100% - 36px); }
  .section { padding: 76px 0; }
  .section-header { margin-bottom: 48px; }
  .eyebrow { font-size: 11px; letter-spacing: 4px; }
  .hero { min-height: 700px; }
  .hero-content { padding-block: 70px; }
  .hero-logo { width: 92%; margin-bottom: 76px; }
  .hero h1 { font-size: clamp(2rem, 9.4vw, 2.55rem); }
  .button { width: 100%; padding-inline: 20px; }
  .pillars { padding-top: 82px; }
  .pillar-grid { grid-template-columns: 1fr; gap: 16px; }
  .pillar-grid .card { min-height: 0; padding: 32px 26px; }
  .portrait-card { height: 500px; }
  .association-list > div { grid-template-columns: 1fr; gap: 8px; }
  .association-list strong { font-size: 34px; }
  .procedure-grid { grid-template-columns: 1fr; gap: 48px; }
  .procedure-column:last-child { grid-column: auto; }
  .testimonial-card { padding: 34px 26px; }
  .location-card { padding: 34px 24px; }
  .closing { padding: 100px 18px 44px; }
  .closing h2 { font-size: 2.35rem; }
  .site-footer { margin-top: 100px; padding-top: 44px; }
  .floating-whatsapp { right: 18px; bottom: 18px; width: 54px; height: 54px; }
}

@media (max-width: 380px) {
  .portrait-card { height: 440px; }
  .closing h2 { font-size: 2rem; }
}

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