/* SAMIES — blanco, borgoña, plata y un acento dorado. Sin fuentes externas. */
:root {
  --wine: #751d3d;
  --deep: #4b142b;
  --silver: #96979c;
  --gold: #927443;
  --ink: #302d31;
  --muted: #68656b;
  --line: #e5e3e6;
  --soft: #f7f7f8;
  --serif: 'Bodoni MT', 'Didot', 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.7 'Segoe UI', Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
[id] { scroll-margin-top: 116px; }
.wrap { width: min(1248px, 100%); margin-inline: auto; padding-inline: 48px; }
.topbar { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.topbar .wrap { min-height: 39px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar a { letter-spacing: .06em; }
.nav { position: sticky; top: 0; z-index: 20; background: #fffffff5; border-bottom: 1px solid var(--line); }
.navin { min-height: 112px; padding-block: 6px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; flex-shrink: 0; color: var(--wine); }
/* El logo oficial se presenta completo, sin recortes, filtros o deformaciones. */
.brand-logo { display: block; width: 140px; max-width: 100%; height: auto; object-fit: contain; }
.links { display: flex; align-items: center; gap: 22px; font-size: 12px; }
.links > a:not(.btn) { padding-block: 12px; }
.links > a:hover { color: var(--wine); }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 49px; padding: 13px 24px; border: 1px solid var(--wine); background: var(--wine); color: white; font-size: 12px; font-weight: 600; letter-spacing: .025em; cursor: pointer; transition: background .2s, border-color .2s; }
.btn:hover { background: var(--deep); border-color: var(--deep); color: #fff; }
.btn.outline { color: var(--wine); background: #fff; border-color: #d7c3cb; }
.btn.outline:hover { background: #faf5f7; }
.links .btn { padding-inline: 17px; gap: 12px; font-size: 11px; }
.menu-btn { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: #fff; color: var(--wine); font-size: 23px; cursor: pointer; }
.hero { overflow: hidden; }
.herogrid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; min-height: 680px; padding-top: 64px; padding-bottom: 64px; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 600; line-height: 1.7; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }
.kicker::before { content: ''; width: 28px; height: 1px; flex-shrink: 0; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font: 400 clamp(58px, 5.8vw, 83px)/1.04 var(--serif); letter-spacing: -.055em; color: var(--wine); margin: 26px 0; }
.hero h1 em { font-weight: 400; color: #78767d; }
.lead { font-size: 15px; line-height: 1.95; color: var(--muted); max-width: 490px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.intro-strip { border-block: 1px solid var(--line); }
.intro-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.intro-strip .wrap > span { font: italic 22px var(--serif); color: var(--muted); }
.intro-strip a { color: var(--wine); font-size: 12px; }
.intro-strip a span { margin-left: 25px; }
section { padding-block: 100px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.section-title, .head h2, .contactgrid h2 { font: 400 clamp(35px, 3.7vw, 49px)/1.13 var(--serif); color: var(--wine); letter-spacing: -.035em; margin: 20px 0; }
.body-copy { color: var(--muted); line-height: 1.9; font-size: 14px; }
.care-principles { border-top: 1px solid var(--gold); padding: 30px 0 0 32px; }
.care-principles ol { padding: 0; list-style: none; margin-bottom: 0; }
.care-principles li { display: flex; gap: 24px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.care-principles li > span { font: italic 23px var(--serif); color: var(--gold); }
.care-principles h3 { margin-bottom: 3px; font-size: 14px; font-weight: 500; }
.care-principles p { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.highlight { background: var(--soft); }
.head { max-width: 670px; margin: 0 auto 48px; text-align: center; }
.head .kicker { justify-content: center; }
.head p { color: var(--muted); font-size: 14px; }
.service-head { text-align: left; margin-left: 0; max-width: 610px; }
.service-head .kicker { justify-content: flex-start; }
.service-category { font-size: 9px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.service-art { height: 164px; display: grid; place-items: center; position: relative; overflow: hidden; margin: 23px -27px 26px; background: #f4f1f2; }
.service-art span, .service-art::before, .service-art::after { content: ''; display: block; position: absolute; border: 1px solid #baa8b0; }
.art-medicine span { width: 87px; height: 122px; border-radius: 50% 50% 44% 44%; transform: rotate(25deg); background: #e9dce2; border-color: #d5c3cc; }
.art-medicine::before { width: 97px; height: 134px; border-radius: 50%; transform: rotate(-23deg); z-index: 1; }
.art-medicine::after { width: 117px; height: 143px; border-radius: 50%; transform: rotate(-23deg); }
.art-surgery { background: #efeff1; }
.art-surgery span { width: 68px; height: 210px; border-radius: 50%; transform: rotate(33deg); background: #dedde1; border-color: #d0cdd4; }
.art-surgery::before { width: 100px; height: 210px; border-radius: 50%; transform: rotate(33deg); z-index: 1; border-color: #99969f; }
.art-surgery::after { width: 124px; height: 210px; border-radius: 50%; transform: rotate(33deg); }
.art-skin { background: #f4f1eb; }
.art-skin span { width: 117px; height: 117px; border-radius: 50%; border-color: #dfd6c5; background: #e8e0d1; }
.art-skin::before { width: 85px; height: 85px; border-radius: 50%; z-index: 1; border-color: #a58e64; }
.art-skin::after { width: 145px; height: 145px; border-radius: 50%; border-color: #c5b391; }
.service-link { display: flex; justify-content: space-between; gap: 10px; color: var(--wine); border-top: 1px solid var(--line); margin-top: auto; padding-top: 18px; font-size: 11px; font-weight: 600; }
.service-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.note { border-left: 2px solid var(--gold); margin-top: 30px; padding: 3px 0 3px 20px; font-size: 12px; line-height: 1.85; color: var(--muted); }
.anniversary { background: #fff; }
.anniversary .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.anniversary h2 { color: var(--wine); font: 400 clamp(38px, 4vw, 55px)/1.12 var(--serif); letter-spacing: -.035em; margin: 22px 0; }
.anniversary p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 28px; }
.plaque { position: relative; min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--deep); color: #fff; padding: 45px 30px; text-align: center; }
.plaque::before { position: absolute; content: ''; inset: 15px; border: 1px solid #b9a17c88; pointer-events: none; }
.plaque-star { color: #d0b88f; font-size: 32px; line-height: 1; margin-bottom: 20px; }
.plaque-label { font-size: 8px; letter-spacing: .24em; color: #d0b88f; }
.plaque .big { font: italic 46px/1.1 var(--serif); margin: 24px 0 15px; }
.plaque p { font-size: 10px; color: #e2d7dc; margin-bottom: 22px; }
.plaque-rule { height: 1px; width: 35px; background: #c2a77c; }
#citas { background: #f7f7f8; border-block: 1px solid var(--line); }
.panel { background: white; border: 1px solid var(--line); border-top: 2px solid var(--wine); padding: 40px; box-shadow: 0 16px 50px #30202a08; }
.form-eyebrow { font-size: 9px; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); }
.panel h3 { font: 400 32px/1.12 var(--serif); color: var(--wine); margin: 15px 0; letter-spacing: -.03em; }
.form-intro { font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.formfield { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.formfield label { font-size: 11px; font-weight: 600; }
.formfield select { width: 100%; min-height: 49px; padding: 12px; background: #fff; color: var(--ink); border: 1px solid #cbc8ce; border-radius: 0; font-size: 13px; }
.panel .btn { width: 100%; margin-top: 4px; justify-content: space-between; }
.smallprint { font-size: 10px; color: var(--muted); line-height: 1.8; margin: 18px 0 0; }
#preguntas { background: white; }
.faq { max-width: 800px; margin: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 23px 0; cursor: pointer; list-style: none; font-size: 14px; color: var(--wine); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 25px var(--serif); color: var(--gold); }
.faq details[open] summary::after { content: '−'; }
.faq p { font-size: 13px; color: var(--muted); line-height: 1.9; max-width: 680px; padding-right: 24px; margin-bottom: 24px; }
#contacto { border-top: 1px solid var(--line); padding-block: 75px; }
.contactgrid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 90px; }
.contactgrid h2 { font-size: 39px; }
.contactgrid p { color: var(--muted); font-size: 13px; }
.contactcard { border-left: 1px solid var(--line); padding-left: 40px; }
.textlink { display: block; color: var(--wine); padding-block: 14px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; font-size: 13px; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.contactcard p { font-size: 11px; margin-top: 18px; }
.footer { border-top: 1px solid var(--line); padding-block: 35px 80px; background: #fafafa; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer .brand-logo { width: 160px; height: auto; }
.footer .wrap > span { font-size: 10px; color: var(--muted); }
.footlinks { display: flex; flex-wrap: wrap; gap: 20px; }
.footlinks a { text-decoration: underline; text-underline-offset: 4px; }
.floating { display: flex; align-items: center; gap: 16px; position: fixed; bottom: 20px; right: 24px; background: var(--wine); color: #fff; min-height: 48px; padding: 11px 20px; border-radius: 2px; border: 1px solid #ffffff55; font-size: 12px; box-shadow: 0 6px 24px #4b142b20; z-index: 30; }
.floating:hover { background: var(--deep); }
.skip { position: fixed; left: 12px; top: -100px; background: #fff; color: var(--wine); padding: 12px 20px; z-index: 100; }
.skip:focus { top: 12px; }
.reveal { animation: appear .65s ease-out both; }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
  .wrap { padding-inline: 32px; }
  .links { gap: 14px; font-size: 11px; }
  .links .btn { display: none; }
  .herogrid { gap: 40px; min-height: 620px; }
  .split, .anniversary .inner, .contactgrid { gap: 48px; }
  .service-art { margin-inline: -22px; }
}
@media (max-width: 810px) {
  .wrap { padding-inline: 24px; }
  .topbar .wrap { min-height: 35px; justify-content: center; font-size: 8px; letter-spacing: .06em; }
  .topbar a { display: none; }
  .navin { min-height: 80px; gap: 16px; flex-wrap: wrap; }
  .brand-logo { width: 104px; height: auto; }
  .links { display: flex; width: 100%; flex-direction: column; align-items: stretch; padding: 14px 24px 24px; gap: 0; font-size: 13px; }
  .links > a:not(.btn) { border-bottom: 1px solid var(--line); }
  .links .btn { display: inline-flex; margin-top: 16px; }
  .js .navin { flex-wrap: nowrap; }
  .js .menu-btn { display: inline-block; }
  .js .links { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100dvh - 80px); overflow-y: auto; }
  .js .links.open { display: flex; }
  .herogrid { grid-template-columns: 1fr 1fr; gap: 28px; min-height: 540px; padding-block: 50px; }
  .hero h1 { font-size: clamp(45px, 7vw, 64px); }
  .hero .lead { font-size: 13px; }
  .actions .btn { padding-inline: 16px; font-size: 11px; }
  section { padding-block: 72px; }
  .split, .anniversary .inner, .contactgrid { grid-template-columns: 1fr; gap: 38px; }
  .care-principles { padding-left: 0; }
  .service-art { grid-column: 1; grid-row: 1 / 5; height: 100%; min-height: 210px; margin: 0; }
  .service-link { grid-column: 2; }
  .intro-strip .wrap { gap: 15px; }
  .intro-strip .wrap > span { font-size: 18px; }
  .intro-strip a { font-size: 10px; }
  .intro-strip a span { margin-left: 10px; }
  .plaque { min-height: 350px; }
  .panel { padding: 32px; }
  .contactcard { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .footer .wrap { flex-wrap: wrap; }
  .floating { right: 16px; bottom: 16px; }
}
@media (max-width: 540px) {
  .wrap { padding-inline: 22px; }
  .herogrid { grid-template-columns: 1fr; gap: 40px; padding-block: 45px; }
  .hero h1 { font-size: clamp(48px, 12vw, 66px); }
  .hero .lead { font-size: 14px; }
  .hero .actions { gap: 10px; }
  .intro-strip .wrap { align-items: flex-start; flex-direction: column; padding-block: 22px; gap: 6px; }
  section { padding-block: 60px; }
  .head { margin-bottom: 30px; }
  .section-title, .head h2 { font-size: 36px; }
  .service-art { width: calc(100% + 48px); height: 150px; min-height: 0; margin: 22px -24px; }
  .service-link { margin-top: auto; }
  .panel { padding: 26px; }
  .panel h3 { font-size: 30px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer .wrap > span { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  .btn { transition: none; }
}

/* Retrato editorial y catálogo ampliable. */
.hero-portrait { margin: 0; position: relative; padding: 0 0 0 18px; }
.hero-portrait::before { content: ''; position: absolute; top: 20px; left: 0; width: 48px; height: calc(100% - 65px); border: 1px solid #bca780; z-index: -1; }
.portrait-frame { overflow: hidden; background: #f6f4f2; border-radius: 170px 170px 2px 2px; }
.portrait-frame img { display: block; width: 100%; height: auto; }
.hero-portrait figcaption { display: flex; justify-content: space-between; gap: 14px; padding-top: 16px; font-size: 8px; line-height: 1.7; letter-spacing: .13em; color: var(--muted); }
.hero-portrait figcaption span:last-child { letter-spacing: .02em; font-size: 9px; }

/* Catálogo de siete categorías: tarjetas estáticas, disponibles sin JavaScript. */
.catalog-review-note { border: 1px solid #d6c6a9; border-left: 3px solid var(--gold); background: #fffdf8; padding: 18px 22px; font-size: 12px; color: #64583f; line-height: 1.85; }
.image-disclosure { font-size: 10px; color: var(--muted); margin: 14px 0 28px; }
.service-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 48px; }
.service-index a { display: flex; align-items: center; gap: 12px; padding: 17px; min-height: 78px; border: 1px solid #ded7dc; background: #fff; color: var(--wine); font-size: 12px; line-height: 1.5; }
.service-index a:hover { background: #f1e9ed; border-color: #c0a2af; }
.service-index a > span:first-child { color: var(--gold); font: italic 20px var(--serif); }
.service-index a > span:last-child { margin-left: auto; }
.service-catalog { display: grid; gap: 54px; }
.service-group { padding: 0; min-width: 0; }
.service-group-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; border-top: 1px solid #d6ccd2; padding-top: 28px; margin-bottom: 24px; }
.catalog-number { display: inline-block; font: italic 26px var(--serif); color: var(--gold); margin-bottom: 8px; }
.service-group-heading h3 { font: 400 clamp(30px, 3vw, 42px)/1.15 var(--serif); color: var(--wine); letter-spacing: -.025em; margin: 0 0 10px; }
.service-group-heading p { font-size: 13px; color: var(--muted); max-width: 690px; margin-bottom: 0; }
.back-categories { flex-shrink: 0; font-size: 11px; color: var(--wine); padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.service-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.service-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card-content { display: flex; flex-direction: column; flex: 1; padding: 25px; }
.procedure-class { font-size: 9px; font-weight: 600; letter-spacing: .07em; line-height: 1.7; text-transform: uppercase; color: var(--gold); }
.service-card h4 { font: 400 26px/1.15 var(--serif); color: var(--wine); margin: 15px 0; overflow-wrap: anywhere; }
.service-card p { font-size: 13px; line-height: 1.85; color: var(--muted); margin-bottom: 20px; }
.clinical-review { border-top: 1px solid var(--line); margin-top: auto; margin-bottom: 20px; font-size: 10px; color: #6b5940; }
.clinical-review summary { cursor: pointer; padding-block: 13px 4px; line-height: 1.7; }
.clinical-review ul { padding-left: 17px; margin-bottom: 0; }
.clinical-review li + li { margin-top: 8px; }
.service-cta { gap: 10px; justify-content: space-between; width: 100%; font-size: 11px; padding-inline: 16px; }
.watermarked { position: relative; isolation: isolate; overflow: hidden; }
.section-watermark { position: absolute; width: min(440px, 65%); height: auto; right: -35px; top: 50%; transform: translateY(-50%); opacity: .045; pointer-events: none; user-select: none; z-index: -1; }
.watermarked > .wrap { position: relative; }
@media (max-width: 1100px) {
 .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .service-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 810px) {
 .hero-portrait { padding-left: 12px; }
 .hero-portrait figcaption { flex-direction: column; gap: 2px; font-size: 7px; }
 .portrait-frame { border-radius: 110px 110px 2px 2px; }
 .service-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
 .service-index a { padding: 14px; font-size: 11px; }
 .service-card-content { padding: 22px; }
 .service-group-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (max-width: 600px) {
 .service-grid { grid-template-columns: 1fr; }
 .service-card h4 { font-size: 28px; }
 .service-photo { max-height: 290px; }
 .service-catalog { gap: 40px; }
}
@media (max-width: 540px) {
 .hero-portrait { max-width: 370px; width: 100%; margin-inline: auto; }
 .hero-portrait figcaption { flex-direction: row; }
 .service-index a { padding: 12px; gap: 8px; font-size: 10px; }
 .catalog-review-note { padding: 16px; }
}

/* Dirección editorial: una apertura por categoría y una fotografía por servicio. */
.category-banner { display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; border: 1px solid var(--line); margin-bottom: 28px; }
.category-photo { display: block; width: 100%; height: 100%; min-height: 320px; max-height: 410px; object-fit: cover; }
.category-banner .service-group-heading { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; margin: 0; border: 0; padding: 45px; }
.category-banner .catalog-number { font: 600 10px/1.7 'Segoe UI', Arial, sans-serif; letter-spacing: .18em; color: var(--gold); margin: 0; }
.category-banner .service-group-heading h3 { margin: 0; font-size: clamp(32px, 3.3vw, 47px); }
.category-banner .service-group-heading p { margin-bottom: 0; }
.category-banner .back-categories { margin-top: 8px; }
.service-group:nth-child(even) .category-photo { grid-column: 2; grid-row: 1; }
.service-group:nth-child(even) .service-group-heading { grid-column: 1; grid-row: 1; }
.service-group { scroll-margin-top: 130px; }
.service-catalog { gap: 72px; }
.service-card { transition: box-shadow .2s, border-color .2s; }
.service-card:hover { border-color: #cbb5bf; box-shadow: 0 12px 32px #4b142b0c; }
.service-photo { aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 810px) {
 .category-banner .service-group-heading { padding: 28px; }
 .category-photo { min-height: 290px; }
 .category-banner .service-group-heading h3 { font-size: 32px; }
}
@media (max-width: 600px) {
 .category-banner { grid-template-columns: 1fr; }
 .category-photo { min-height: 0; height: auto; aspect-ratio: 3 / 2; }
 .service-group:nth-child(even) .category-photo, .service-group:nth-child(even) .service-group-heading { grid-column: auto; grid-row: auto; }
 .category-banner .service-group-heading { padding: 27px; }
 .service-catalog { gap: 48px; }
}
@media (prefers-reduced-motion: reduce) { .service-card { transition: none; } }

/* Equipo real: originales intactos; encuadre de presentación sin retoque facial. */
.team-section { margin-top: 78px; }
.team-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; border-top: 1px solid var(--line); padding-top: 35px; margin-bottom: 32px; }
.team-heading .section-title { max-width: 640px; margin-bottom: 0; }
.team-heading > p { color: var(--muted); font-size: 13px; max-width: 260px; margin-bottom: 4px; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.team-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.team-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #f1efef; }
.team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* Se excluyen el distintivo del uniforme y la marca personal del fondo. */
.team-photo .team-photo-jenniffer { transform: scale(1.42); transform-origin: center top; }
.team-photo .team-photo-jallorie { transform: scale(1.08); transform-origin: center top; }
.team-photo .team-photo-virgilio { object-position: right center; }
.team-photo .team-photo-melissa { object-position: right top; transform: scale(1.4); transform-origin: right top; }
.team-card-body { flex: 1; padding: 23px 20px 27px; border-top: 2px solid #c4ac85; }
.team-card h3 { min-height: 2.4em; margin: 0 0 16px; font: 400 23px/1.2 var(--serif); color: var(--wine); overflow-wrap: anywhere; }
.team-roles { padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 12px; line-height: 1.8; }
.team-roles li + li { margin-top: 5px; }
.team-card:first-child .team-roles li:first-child { color: var(--wine); font-weight: 600; }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; } }
@media (max-width: 600px) {
 .team-section { margin-top: 52px; }
 .team-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
 .team-grid { grid-template-columns: 1fr; gap: 28px; }
 .team-card h3 { min-height: 0; font-size: 27px; }
 .team-card-body { padding: 26px; }
}

/* Identidad institucional: textos suministrados por SAMIES. */
.institution-lead { color: var(--muted); font-size: 16px; line-height: 1.95; margin-bottom: 22px; }
.institution-content { margin-top: 55px; }
.institution-purpose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.institution-card { position: relative; padding: 36px; background: #fff; border: 1px solid var(--line); border-top: 2px solid #bba47e; }
.institution-index { display: block; font: italic 24px var(--serif); color: var(--gold); margin-bottom: 22px; }
.institution-card h3 { font: 400 35px/1.15 var(--serif); color: var(--wine); margin: 0 0 20px; }
.institution-card p { color: var(--muted); font-size: 14px; line-height: 1.95; margin-bottom: 0; max-width: 510px; }
.institution-philosophy { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.3fr .7fr; gap: 44px; margin-top: 30px; padding: 45px; background: #faf8f9; border: 1px solid var(--line); }
.institution-philosophy::before { content: ''; position: absolute; z-index: -1; inset: 15px 10px 15px auto; width: min(440px, 65%); background: url('../../logo%20samies.png') center / contain no-repeat; opacity: .035; pointer-events: none; }
.philosophy-statement { font: 400 clamp(29px, 3vw, 38px)/1.22 var(--serif); letter-spacing: -.025em; color: var(--wine); max-width: 540px; margin: 22px 0; }
.philosophy-copy .body-copy { max-width: 540px; margin-bottom: 0; }
.institution-motto { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border-left: 1px solid #d9c7cf; padding-left: 38px; }
.institution-motto .kicker { font-size: 9px; margin-bottom: 0; }
.institution-motto blockquote { font: italic 33px/1.2 var(--serif); color: var(--wine); margin: 24px 0; letter-spacing: -.025em; }
.motto-rule { width: 40px; height: 1px; background: var(--gold); }
@media (max-width: 810px) {
 .institution-card { padding: 28px; }
 .institution-philosophy { grid-template-columns: 1fr; padding: 32px; gap: 30px; }
 .institution-motto { border-left: 0; border-top: 1px solid #d9c7cf; padding: 28px 0 0; }
}
@media (max-width: 600px) {
 .institution-purpose { grid-template-columns: 1fr; gap: 22px; }
 .institution-content { margin-top: 40px; }
 .institution-philosophy { padding: 26px; }
 .institution-card h3 { font-size: 33px; }
}

/* Dos vías de contacto: WhatsApp activo y formulario local sin recepción. */
.appointment-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: start; gap: 48px; }
.appointment-channel { position: sticky; top: 140px; padding: 38px 0; }
.appointment-channel h3 { font: 400 42px/1.13 var(--serif); color: var(--wine); letter-spacing: -.035em; margin: 20px 0; }
.appointment-channel > p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.appointment-channel .channel-number { color: var(--wine); font-size: 16px; margin: 22px 0; }
.appointment-channel a:not(.btn), .privacy-notice a, .policy-page a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.appointment-panel fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.reception-notice { background: #faf6ec; border-left: 2px solid var(--gold); padding: 18px; color: #64583f; font-size: 12px; line-height: 1.8; margin: 24px 0; }
.reception-notice p { margin: 8px 0 0; }
.required-note { font-size: 11px; color: var(--muted); margin-bottom: 23px; }
.formfield input { width: 100%; min-height: 49px; padding: 12px; background: #fff; color: var(--ink); border: 1px solid #cbc8ce; border-radius: 0; font: inherit; font-size: 15px; }
.formfield label span { font-weight: 400; color: var(--muted); }
.formfield input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.field-hint { font-size: 11px; color: var(--muted); line-height: 1.7; }
.field-error { color: #8a173b; font-size: 12px; line-height: 1.7; }
.field-error:empty { display: none; }
[aria-invalid="true"] { border-color: #8a173b; }
.privacy-notice { border-block: 1px solid var(--line); padding: 22px 0; margin: 25px 0; font-size: 12px; color: var(--muted); line-height: 1.9; }
.privacy-notice h4 { font-size: 13px; color: var(--wine); margin: 0 0 16px; }
.privacy-notice p:last-child { margin-bottom: 0; }
.consent-field { margin: 22px 0; }
.consent-field label { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; line-height: 1.8; color: var(--muted); cursor: pointer; }
.consent-field input { flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--wine); }
.consent-field input:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.optional-consent { padding-top: 18px; border-top: 1px solid var(--line); }
.optional-consent label { cursor: default; }
.appointment-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.appointment-actions .btn { margin: 0; font-size: 12px; }
.btn:disabled { background: #eee9ec; color: #66616a; border-color: #d8cfd4; cursor: not-allowed; box-shadow: none; }
.request-status { color: var(--wine); font-size: 12px; line-height: 1.8; padding: 17px 0 0; margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.policy-page { padding-block: 70px; }
.policy-page > .wrap { max-width: 900px; }
.policy-page h1 { font: 400 clamp(35px,5vw,55px)/1.1 var(--serif); color: var(--wine); margin: 25px 0; }
.policy-page h2 { font: 400 29px/1.2 var(--serif); color: var(--wine); margin: 35px 0 18px; }
.policy-page p, .policy-page li { line-height: 1.9; color: var(--muted); }
@media (max-width: 900px) {
 .appointment-layout { grid-template-columns: 1fr; gap: 25px; }
 .appointment-channel { position: static; padding: 0 0 25px; }
}
@media (max-width: 600px) {
 .formfield input, .formfield select { font-size: 16px; }
 .appointment-panel { padding: 24px; }
 .appointment-channel h3 { font-size: 36px; }
}
