/* Tipografías de Melonet. Antes de publicar, ejecutar el instalador y verificar los 3 WOFF2 locales. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('assets/fonts/playfair-display-latin-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('assets/fonts/playfair-display-latin-italic.woff2') format('woff2');
}

:root {--red:#861B1B;--dark:#231915;--cream:#F8F4EC;--beige:#EBDBC4;--muted:#6C5A53;}
* {box-sizing:border-box;}
html {scroll-behavior:smooth;scroll-padding-top:110px;}
body {margin:0;background:var(--cream);color:var(--dark);font:400 16px/1.6 'DM Sans',Arial,sans-serif;}
a {color:inherit;} button {font:inherit;}
[hidden] {display:none!important;}
.wrap {width:min(1180px,calc(100% - 48px));margin:0 auto;}
.skip {position:absolute;left:-9999px;top:0;padding:12px;background:white;z-index:99;}
.skip:focus {left:8px;}
h1,h2,h3,p {margin-top:0;}
h1,h2,h3 {font-family:'Playfair Display',Georgia,serif;line-height:1.15;font-weight:500;}
h2 {font-size:clamp(35px,4vw,57px);margin:12px 0 22px;}
.eyebrow {color:var(--red);font-weight:700;font-size:11px;letter-spacing:.21em;}
.eyebrow-light {color:#e8c4a8;}
.button {display:inline-flex;align-items:center;justify-content:center;gap:18px;text-decoration:none;background:var(--red);color:white;padding:15px 22px;font-weight:700;font-size:13px;min-height:50px;transition:background .2s;}
.button:hover {background:#611313;}
.button.cream {background:var(--beige);color:var(--red);}
.button.cream:hover {background:white;}
.button-outline {border:1px solid #e1beb1;background:transparent;}
.button-outline:hover {background:#6d1818;}
.quiet {font-size:13px;text-decoration:none;font-weight:700;}
.quiet:hover {color:var(--red);}
/* Cabecera */
.header {position:sticky;top:0;z-index:30;background:rgba(248,244,236,.97);border-bottom:1px solid #e4d8c8;backdrop-filter:blur(12px);}
.headrow {min-height:102px;display:flex;align-items:center;justify-content:space-between;gap:32px;}
.brand {display:flex;align-items:center;flex:0 0 auto;}
.brand-logo {width:183px;height:auto;max-height:94px;object-fit:contain;}
.header nav {display:flex;align-items:center;gap:32px;}
.header nav a {font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;}
.header nav a:hover,.header nav a[aria-current="page"] {color:var(--red);}
.menu {display:none;}
/* Portada: imagen sin margen interior y hasta el borde exterior derecho */
.hero {background:var(--beige);overflow:hidden;}
.hero-grid {display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);min-height:615px;}
.hero-copy {align-self:center;padding:64px 42px 68px 0;}
.hero h1 {font-size:clamp(36px,3.7vw,58px);letter-spacing:-.029em;margin:22px 0 27px;}
.hero h1 em {color:var(--red);font-style:italic;}
.hero .lead {max-width:540px;color:#49392F;line-height:1.75;font-size:16px;}
.actions {display:flex;align-items:center;gap:24px;margin-top:29px;flex-wrap:wrap;}
.hero-art {position:relative;overflow:hidden;background:var(--red);margin-right:calc(-1 * max(24px, (100vw - 1180px) / 2));}
.photo-fill {display:block;width:100%;height:100%;object-fit:cover;}
.hero-art img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;}
/* Especialidades */
.section {padding:92px 0;}
.specialties-section {background:#EEE5D8;}
.specialties-heading {display:flex;align-items:end;justify-content:space-between;gap:38px;margin-bottom:34px;}
.specialties-heading h2 {margin-bottom:0;}
.specialties-heading>p {max-width:440px;color:var(--muted);font-size:15px;margin:0;}
.specialties-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.specialty-card {background:#FFFCF7;min-width:0;overflow:hidden;box-shadow:0 1px 0 #6a3c2c0a;}
.specialty-picture {height:230px;overflow:hidden;background:#70352f;}
.specialty-picture img {transition:transform .35s ease;}
.specialty-card:hover .specialty-picture img {transform:scale(1.045);}
.specialty-detail {padding:24px 23px 28px;}
.specialty-detail h3 {font-size:clamp(22px,2.2vw,27px);margin:0 0 12px;}
.specialty-detail p {color:var(--muted);font-size:14px;line-height:1.65;margin:0;}
.photo-disclaimer {color:#76665a;font-size:12px;margin:24px 0 0;}
.page-note{max-width:760px;margin-top:18px;color:#76665a;font-size:13px;line-height:1.68}
.footer-note{grid-column:1/-1;margin-top:12px;padding-top:16px;border-top:1px solid rgba(245,229,213,.16);font-size:12px;line-height:1.72;color:#cdb8ac}
.footer-note strong{color:#f5e5d5}
@media(max-width:600px){.page-note{font-size:12px}.footer-note{font-size:11px}}
/* Sobre nosotros - foto al ras del marco */
.about-preview {background:var(--cream);}
.about-preview-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,7vw,105px);align-items:center;}
.about-preview-photo {height:470px;overflow:hidden;background:#5c3227;}
.about-preview-photo img {object-position:center;}
.about-preview-content {padding:5px 0;}
.about-preview-content p:not(.eyebrow) {color:var(--muted);line-height:1.77;font-size:16px;}
.about-preview-content .button {margin-top:13px;}
/* Encargos */
.order-section {padding:8px 0 78px;background:var(--cream);}
.order-band {background:var(--red);color:white;padding:40px 44px;display:grid;grid-template-columns:1fr auto;gap:36px;align-items:center;}
.order-band h2 {font-size:34px;margin:8px 0 14px;}
.order-band p:not(.eyebrow) {color:#f2d7cc;font-size:14px;margin:0;max-width:670px;}
.order-actions {display:flex;flex-direction:column;gap:10px;min-width:230px;}
/* Contacto */
.contact {background:#EEE5D8;}
.contact-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(45px,7vw,115px);}
.contact-grid>div>p:not(.eyebrow) {color:var(--muted);max-width:500px;}
.contact-actions {display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:32px;}
.contact-card {padding:38px 44px;background:white;border-top:3px solid var(--red);box-shadow:0 14px 45px #6b473511;}
.contact-item {border-bottom:1px solid #e6ded4;padding-bottom:17px;margin-bottom:17px;}
.contact-item:last-child {border:0;padding-bottom:0;margin-bottom:0;}
.contact-item>span {display:block;color:var(--red);font-size:10px;letter-spacing:.16em;font-weight:700;margin-bottom:7px;}
.contact-item strong,.contact-item>a:not(.map-link) {font-weight:600;font-size:19px;text-decoration:none;}
.contact-item a:hover {color:var(--red);text-decoration:underline;}
.contact-item p {color:var(--muted);font-size:13px;margin:3px 0 0;}
.contact-item .email-link {overflow-wrap:anywhere;}
.map-link {color:var(--red);font-size:13px;display:inline-block;margin-top:9px;font-weight:700;}
.hours {margin:9px 0 0;font-size:13px;}
.hours>div {display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid #f0e9e2;}
.hours>div:last-child {border-bottom:0;}
.hours dt {font-weight:700;}
.hours dd {margin:0;text-align:right;}
/* Página con toda la historia */
.story-page-intro {background:var(--beige);padding:76px 0 78px;}
.story-page-intro h1 {font-size:clamp(40px,5vw,72px);margin:16px 0 21px;}
.story-page-intro .lead {color:var(--muted);font-size:18px;max-width:680px;}
.story-page {background:var(--cream);}
.story-block {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,6vw,92px);align-items:center;margin-bottom:82px;}
.story-block.story-reverse .story-image {order:2;}
.story-block.story-reverse .story-copy {order:1;}
.story-image {height:410px;min-height:0;padding:0;overflow:hidden;position:relative;background:#70352f;}
.story-image img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.story-copy .story-index {font-weight:700;font-size:11px;letter-spacing:.15em;color:var(--red);}
.story-copy h3 {font-size:clamp(30px,3vw,42px);margin:15px 0 23px;}
.story-copy p {color:var(--muted);line-height:1.75;}
.story-copy .textlink {display:inline-block;font-size:13px;font-weight:700;text-decoration:none;border-bottom:1px solid var(--red);padding-bottom:6px;margin-top:10px;color:var(--red);}
.story-page-end {padding:38px 0 0;border-top:1px solid #dccdbb;}
.story-page-end h2 {font-size:36px;}
.story-page-end p {color:var(--muted);}
/* Pie */
.footer {background:#241817;color:#f5e5d5;padding:48px 0;}
.footrow {display:grid;grid-template-columns:1fr 1fr auto;gap:36px;align-items:start;}
.footer-logo {display:block;filter:brightness(0) invert(1);width:155px;height:auto;margin-bottom:10px;}
.footer-brand>span {font-size:12px;color:#d4bcae;}
.footer-links {display:flex;flex-direction:column;gap:9px;font-size:13px;}
.footer-links a {text-decoration:none;}
.footer-links a:hover {text-decoration:underline;}
.footer-bottom {font-size:12px;color:#c5aea1;max-width:190px;display:flex;flex-direction:column;gap:6px;}
@media(max-width:900px){
 .headrow {min-height:84px;}
 .brand-logo {width:155px;max-height:77px;}
 .menu {display:block;border:1px solid var(--red);color:var(--red);background:transparent;padding:9px 13px;cursor:pointer;font-weight:700;}
 .header nav {display:none;position:absolute;top:84px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:var(--cream);padding:12px 24px 22px;box-shadow:0 16px 25px #23191521;}
 .header nav.open {display:flex;}
 .header nav a {padding:13px 0;}
 .hero-grid {grid-template-columns:1fr;min-height:0;}
 .hero-copy {padding:66px 0 62px;}
 .hero h1 {font-size:clamp(37px,5.9vw,59px);}
 .hero-art {height:440px;margin:0 -24px;}
 .specialties-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .about-preview-grid,.contact-grid {grid-template-columns:1fr;gap:32px;}
 .about-preview-photo {height:390px;}
 .order-band {grid-template-columns:1fr;}
 .order-actions {flex-direction:row;min-width:0;flex-wrap:wrap;}
 .story-block {gap:32px;}
 .story-image {height:325px;}
 .footrow {grid-template-columns:1fr 1fr;}
 .footer-bottom {grid-column:1/-1;max-width:none;}
}
@media(max-width:600px){
 .wrap {width:calc(100% - 32px);}
 .section {padding:65px 0;}
 .hero-copy {padding:46px 0 43px;}
 .hero h1 {font-size:clamp(34px,9vw,45px);}
 .hero .lead {font-size:15px;}
 .actions {gap:18px;}
 .hero-art {height:335px;margin:0 -16px;}
 .specialties-heading {display:block;}
 .specialties-heading>p {margin-top:20px;}
 .specialties-grid {grid-template-columns:1fr;gap:17px;}
 .specialty-picture {height:245px;}
 .about-preview-photo {height:285px;}
 .order-section {padding:0 0 60px;}
 .order-band {padding:30px 24px;gap:25px;}
 .order-band h2 {font-size:31px;}
 .order-actions {display:flex;flex-direction:column;}
 .order-actions .button {white-space:normal;}
 .contact-card {padding:26px 24px;}
 .hours>div {display:block;}
 .hours dd {text-align:left;margin-top:2px;}
 .story-page-intro {padding:55px 0;}
 .story-page-intro .lead {font-size:16px;}
 .story-block,.story-block.story-reverse {grid-template-columns:1fr;margin-bottom:58px;gap:23px;}
 .story-block.story-reverse .story-image,.story-block.story-reverse .story-copy {order:initial;}
 .story-image {height:300px;}
 .footrow {grid-template-columns:1fr;gap:24px;}
 .footer-bottom {grid-column:auto;}
}
@media(prefers-reduced-motion:reduce){html {scroll-behavior:auto;} .specialty-picture img {transition:none;}}


/* V13 · Pie y página legal */
.legal-links{display:flex;flex-wrap:wrap;gap:8px 13px;margin-top:12px}
.legal-links a{color:#f5e5d5;text-decoration:none;font-size:12px}
.legal-links a:hover{text-decoration:underline}
.legal-intro{background:var(--beige);padding:76px 0 68px}
.legal-intro h1{font-size:clamp(40px,5vw,66px);margin:16px 0 16px}
.legal-intro .lead{max-width:670px;color:var(--muted);font-size:17px}
.legal-warning{max-width:810px;margin-top:34px;border-left:4px solid var(--red);background:#fff7ed;padding:22px 26px;color:#4f2823}
.legal-warning strong{display:block;font-size:15px}
.legal-warning p{margin:6px 0 0;font-size:14px}
.legal-content{background:var(--cream)}
.legal-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:clamp(40px,6vw,100px);align-items:start}
.legal-nav{position:sticky;top:135px;display:flex;flex-direction:column;gap:14px;border-top:2px solid var(--red);padding-top:22px}
.legal-nav a{text-decoration:none;font-size:14px;font-weight:700;color:var(--dark)}
.legal-nav a:hover{color:var(--red)}
.legal-article{min-width:0}
.legal-chapter{padding-bottom:55px;margin-bottom:63px;border-bottom:1px solid #ddccba;scroll-margin-top:140px}
.legal-chapter h2{font-size:clamp(35px,4vw,48px)}
.legal-chapter h3{font-size:23px;margin:32px 0 11px}
.legal-chapter p,.legal-chapter dd{line-height:1.78;color:#51433b}
.legal-chapter p a,.legal-chapter dd a{color:var(--red)}
.legal-chapter mark{background:#f9e5bc;color:#5d2919;padding:1px 4px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.legal-facts{background:#fffdf8;padding:23px 27px;border:1px solid #e8dac9}
.legal-facts>div{display:grid;grid-template-columns:190px 1fr;gap:20px;padding:11px 0;border-bottom:1px solid #eee1d6}
.legal-facts>div:last-child{border:0}
.legal-facts dt{font-weight:700;font-size:13px}
.legal-facts dd{font-size:14px;margin:0;overflow-wrap:anywhere}
.legal-closing{background:#efe3d4;padding:24px 28px}
.legal-closing p{margin-bottom:11px}
.legal-closing .textlink{color:var(--red);font-weight:700;text-decoration:none}
@media(max-width:900px){.legal-layout{grid-template-columns:1fr;gap:30px}.legal-nav{position:static;flex-direction:row;flex-wrap:wrap;gap:15px 24px}}
@media(max-width:600px){.legal-intro{padding:52px 0}.legal-facts{padding:16px}.legal-facts>div{grid-template-columns:1fr;gap:3px}.legal-chapter{padding-bottom:36px;margin-bottom:40px}}


/* V15: compact multilingual selector */
.headrow{gap:22px}.header nav{margin-left:auto;gap:25px}
.header-controls{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.language-select{appearance:none;-webkit-appearance:none;background:var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23861b1b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 9px center;border:1px solid #d2bbaa;color:var(--red);border-radius:3px;font:700 12px 'DM Sans',Arial,sans-serif;max-width:110px;padding:10px 24px 10px 10px;min-height:43px;cursor:pointer}
.language-select:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:900px){.headrow{gap:10px}.header nav{margin-left:0}.header-controls{margin-left:auto}.header-controls .menu{order:2}.header-controls .language-select{order:1}.language-select{max-width:108px}.header nav{top:84px}}
@media(max-width:400px){.brand-logo{width:125px}.headrow{min-height:78px}.header nav{top:78px}.header-controls{gap:6px}.language-select{max-width:85px;font-size:11px;padding-left:6px}.menu{padding:8px 9px;font-size:12px}}

/* V16 · Localized HTML pages, crawlable language links */
.language-menu{position:relative;font-size:12px;font-weight:700;color:var(--red);z-index:40;}
.language-menu summary{display:flex;align-items:center;gap:7px;min-width:70px;cursor:pointer;list-style:none;background:var(--cream);padding:11px 12px;border:1px solid #d2bbaa;border-radius:3px;min-height:43px;}
.language-menu summary::-webkit-details-marker{display:none;}
.language-menu summary::after{content:'⌄';font-size:16px;margin-left:2px;}
.language-menu[open] summary{background:#eadcc8;}
.language-menu-list{position:absolute;right:0;top:calc(100% + 5px);min-width:165px;background:var(--cream);border:1px solid #d2bbaa;box-shadow:0 12px 26px #21150f20;display:flex;flex-direction:column;}
.language-menu-list a{display:block;text-decoration:none;padding:12px 15px;color:var(--dark);white-space:nowrap;}
.language-menu-list a:hover,.language-menu-list a[aria-current="page"]{color:var(--red);background:#efe3d4;}
.language-menu summary:focus-visible,.language-menu-list a:focus-visible{outline:2px solid var(--red);outline-offset:2px;}
.language-suggestion{display:flex;align-items:center;justify-content:center;gap:18px;background:#fffaf2;color:#241d18;padding:12px 20px;border-bottom:1px solid #d4b6a2;font-size:13px;}
.language-suggestion[hidden]{display:none!important;}
.language-suggestion p{margin:0;}
.language-suggestion-action{color:var(--red);font-weight:700;white-space:nowrap;}
.language-suggestion button{border:0;background:transparent;font-size:23px;cursor:pointer;color:var(--red);line-height:1;}
@media(max-width:900px){.language-menu{order:1}.header-controls .menu{order:2;}}
@media(max-width:550px){.language-suggestion{flex-wrap:wrap;justify-content:flex-start;gap:6px 15px}.language-menu summary{min-width:58px;padding:9px 10px;}.language-menu-list{min-width:155px;}}

/* V18 — Information notice near contact links */
.privacy-mini{font-size:12px;line-height:1.6;max-width:510px;color:var(--muted);margin:13px 0 0;}
.privacy-mini a{color:var(--red);text-underline-offset:3px;}

/* V23 · Avisos discretos de imágenes ilustrativas */
.hero-art,.about-preview-photo,.story-image{position:relative;}
.photo-badge{position:absolute;right:12px;bottom:12px;z-index:2;max-width:calc(100% - 24px);padding:5px 10px;background:rgba(28,23,20,.78);color:#fff9f1;font:500 11px/1.45 'DM Sans',Arial,sans-serif;letter-spacing:.01em;pointer-events:none;}
.photo-disclaimer{max-width:900px;color:#67584c;margin:20px 0 0;font-size:12px;line-height:1.65;}
.page-note{max-width:790px;color:#55483d;font-size:13px;line-height:1.65;}
@media(max-width:600px){.photo-badge{font-size:10px;right:8px;bottom:8px;padding:4px 7px;}.photo-disclaimer{font-size:12px;}}
