
/* Gregorio García Vila e Hijos, S.A. — diseño inicial de web corporativa */
:root {
  --paper: #f7f5f0;
  --paper-2: #f1eee8;
  --ivory: #fcfbf7;
  --ink: #242923;
  --ink-soft: #555c54;
  --deep: #25382f;
  --deep-2: #192a23;
  --copper: #9a7451;
  --rule: rgba(42, 52, 41, .15);
  --container: 1320px;
  --gutter: clamp(22px, 5vw, 80px);
  --sans: 'Aptos', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 93px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #7f9e88; outline-offset: 4px; }
::selection { background: #cedacb; color: #17281f; }
.container { max-width: calc(var(--container) + 2 * var(--gutter)); padding-inline: var(--gutter); margin-inline: auto; }
.skip-link { position: fixed; z-index: 99; left: 14px; top: 12px; padding: 12px 18px; background: #fff; color: #000; transform: translateY(-170%); }
.skip-link:focus { transform: none; }
.topline { background: var(--deep); color: #e5ede5; }
.topline-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 9px; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.site-header { z-index: 30; position: sticky; top: 0; background: rgba(248,247,243,.97); border-bottom: 1px solid rgba(46,54,47,.11); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 95px; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-logo { width: 61px; height: 61px; object-fit: contain; background: white; border: 1px solid rgba(20,30,30,.06); }
.brand-name { display: block; font-weight: 750; font-size: 15px; letter-spacing: .035em; line-height: 1.05; white-space: nowrap; }
.brand-sub { margin-top: 0; display: inline; font-weight: inherit; font-size: inherit; letter-spacing: inherit; color: inherit; }
.main-nav { display: flex; align-items: center; gap: clamp(15px, 2.6vw, 39px); }
.main-nav a { position: relative; text-decoration: none; font-size: 13px; font-weight: 650; letter-spacing: .01em; padding-block: 13px; }
.main-nav a:not(.nav-contact)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 6px; height: 1px; background: var(--copper); transition: right .2s; }
.main-nav a:not(.nav-contact):hover::after { right: 0; }
.main-nav .nav-contact { padding: 14px 18px; background: var(--deep); color: white; border: 1px solid var(--deep); display: flex; align-items: center; gap: 20px; }
.main-nav .nav-contact:hover { background: var(--deep-2); }
.menu-toggle { display: none; }

/* Portada */
.hero { position: relative; padding-block: clamp(50px,7vw,108px) 43px; overflow: hidden; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr); gap: clamp(25px, 4vw, 72px); align-items: center; }
.hero-copy { position: relative; z-index: 1; padding-block: 25px 68px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 800; color: var(--copper); letter-spacing: .22em; }
.eyebrow-rule { display: block; width: 29px; height: 1px; background: var(--copper); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.045em; font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(56px, 5.8vw, 92px); line-height: 1.035; margin: 30px 0 28px; }
h1 em, h2 em { color: #9b7254; font-weight: 400; }
.hero-lead { max-width: 500px; font-size: clamp(17px,1.4vw,20px); line-height: 1.7; color: var(--ink-soft); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 23px; align-items: center; }
.btn { padding: 19px 24px; display: inline-flex; align-items: center; gap: 31px; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--deep); color: white; }
.btn-primary:hover { background: var(--deep-2); }
.text-link, .underlined-link { font-size: 13px; font-weight: 750; text-decoration: none; border-bottom: 1px solid #85796a; padding-bottom: 5px; }
.text-link span, .underlined-link span { margin-left: 8px; }
.hero-foot { display: flex; gap: 16px; align-items: center; margin-top: clamp(60px, 7vw, 112px); color: #6d746a; font-size: 12px; line-height: 1.5; }
.hero-foot-line { height: 1px; width: 42px; background: var(--copper); flex: 0 0 auto; }
.hero-visual { position: relative; height: clamp(420px,45vw,655px); background: #e5e3da; isolation: isolate; }
.hero-visual::before { content: ''; position: absolute; inset: -22px 22px 22px -22px; border: 1px solid rgba(125,108,80,.35); z-index: -1; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-caption { position: absolute; bottom: 0; inset-inline: 0; display: flex; justify-content: space-between; gap: 8px; color: white; background: linear-gradient(transparent, rgba(21,31,24,.62)); padding: 36px 26px 18px; font-size: 10px; text-transform: uppercase; font-weight: 700; letter-spacing: .15em; }
.hero-scroll { margin: 26px auto 0; display: flex; align-items: center; justify-content: center; gap: 28px; font-weight: 700; font-size: 10px; letter-spacing: .15em; color: #7d817b; }
.hero-scroll span { color: #a37e60; font-size: 22px; }
.facts { background: #e7e4db; border-block: 1px solid rgba(42,52,41,.07); }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.fact { display: flex; align-items: center; justify-content: center; flex-direction: column; padding-block: 36px; gap: 9px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--rule); }
.fact strong { font-family: var(--serif); font-weight: 500; font-size: clamp(29px, 3.2vw, 43px); letter-spacing: -.025em; }
.fact span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #6b7168; }
.section { padding-block: clamp(75px, 10vw, 145px); }
.section-number { color: #997250; display: block; font-size: 11px; font-weight: 800; letter-spacing: .17em; margin-bottom: 26px; }
h2 { font-size: clamp(40px, 4.5vw, 68px); line-height: 1.13; }
.intro { background: var(--ivory); }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(35px, 9vw, 150px); align-items: start; }
.intro h2 { max-width: 690px; margin: 0; }
.intro-body { padding-top: 42px; }
.intro-body p { color: var(--ink-soft); font-size: 15px; line-height: 1.95; }
.intro-body .text-large { font-size: 20px; line-height: 1.62; color: #2a342b; margin-bottom: 23px; }
.intro-body .underlined-link { display: inline-block; margin-top: 17px; }
.products { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; gap: 45px; align-items: end; margin-bottom: 54px; }
.section-head h2 { margin: 0; }
.section-head > p { max-width: 360px; font-size: 15px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 8px; }
.overview-photo { position: relative; margin-bottom: clamp(55px,6vw,94px); background: #e7e5df; }
.overview-photo img { width: 100%; height: clamp(280px,46vw,580px); object-fit: cover; object-position: center; }
.overview-photo figcaption { display: flex; justify-content: space-between; gap: 14px; padding: 16px 22px; background: #e7e4db; color: #52574d; font-size: 11px; font-weight: 650; letter-spacing: .08em; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(35px,4vw,60px) clamp(26px,4.3vw,68px); }
.product-card { min-width: 0; background: transparent; }
.product-image { display: block; aspect-ratio: 1.38; position: relative; overflow: hidden; background: #e7e3dc; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.65,.25,1); }
.product-image:hover img { transform: scale(1.04); }
.image-arrow { position: absolute; bottom: 17px; right: 17px; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 100%; background: var(--paper); font-size: 20px; }
.product-info { padding-top: 28px; }
.product-kicker { display: flex; gap: 12px; align-items: center; font-size: 10px; letter-spacing: .16em; color: #8c785f; font-weight: 800; }
.product-kicker span { display: inline-block; width: 25px; height: 1px; background: #ad9f8b; }
.product-info h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(27px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.2; margin: 14px 0 12px; }
.product-info p { max-width: 550px; color: #596057; font-size: 14px; line-height: 1.85; margin-bottom: 20px; }
.product-meta { border-top: 1px solid var(--rule); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #667164; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.product-meta span + span::before { content: '·'; padding-right: 24px; color: #b59c83; }
.finishes { background: var(--deep); color: #f6f3eb; overflow: hidden; }
.finishes-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 140px); }
.section-number-light { color: #d2b18e; }
.finishes-intro { position: relative; }
.finishes h2 { font-size: clamp(40px, 4.4vw, 67px); margin-bottom: 26px; }
.finishes h2 em { color: #d8b595; }
.finishes-intro p { color: #d1d8d0; font-size: 15px; line-height: 1.85; max-width: 410px; }
.decorative-ring { width: 250px; height: 250px; border: 1px solid #899c8b; border-radius: 50%; opacity: .13; position: absolute; left: 15%; bottom: -210px; box-shadow: 0 0 0 28px transparent, 0 0 0 30px #a7b5a6, 0 0 0 66px transparent, 0 0 0 68px #a7b5a6; pointer-events: none; }
.finish-list { padding-top: 3px; }
.finish-list > div { display: grid; grid-template-columns: 33px 1fr 20px; align-items: center; gap: 14px; min-height: 84px; border-bottom: 1px solid rgba(246,243,235,.2); }
.finish-list > div:first-child { border-top: 1px solid rgba(246,243,235,.2); }
.finish-list > div > span:first-child { color: #c7a984; font-weight: 650; font-size: 11px; }
.finish-list strong { font-family: var(--serif); font-weight: 500; font-size: clamp(17px, 1.9vw, 25px); }
.finish-list > div > span:last-child { color: #cfb89e; }
.gallery-section { background: #f9f8f5; }
.gallery-title { margin-bottom: 45px; }
.gallery-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 14px; grid-auto-flow: dense; }
.gallery-item { position: relative; display: block; overflow: hidden; padding: 0; border: 0; cursor: zoom-in; text-align: left; color: white; min-height: 220px; background: #dbd5c9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after { content: ''; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent,rgba(11,19,12,.64)); pointer-events: none; }
.gallery-item > span { position: absolute; inset: auto 18px 17px; display: flex; justify-content: space-between; align-items: center; z-index: 1; font-weight: 700; font-size: 13px; }
.gallery-item b { font-size: 21px; font-weight: 500; }
.gallery-1 { grid-column: span 5; aspect-ratio: 1.15; }
.gallery-2 { grid-column: span 3; aspect-ratio: .69; }
.gallery-3 { grid-column: span 4; aspect-ratio: .95; }
.gallery-4 { grid-column: span 4; aspect-ratio: 1.3; }
.gallery-5 { grid-column: span 3; aspect-ratio: 1; }
.gallery-6 { grid-column: span 5; aspect-ratio: 1.7; }
.gallery-7 { grid-column: span 12; aspect-ratio: 4.7; min-height: 180px; }
.gallery-help { color: #70766d; font-size: 12px; margin: 17px 0 0; }
.contact { background: #e8e2d8; padding-block: clamp(75px, 9vw, 123px); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 55px; align-items: center; }
.contact h2 { margin-bottom: 27px; }
.contact-grid > div:first-child > p { max-width: 440px; color: #515a4f; font-size: 16px; line-height: 1.8; }
.contact .section-number-light { color: #9f7857; }
.contact-panel { background: #fffefa; padding: clamp(28px, 4vw, 62px); border: 1px solid rgba(58,50,37,.13); box-shadow: 18px 18px 0 rgba(84,69,48,.055); }
.contact-panel-kicker { color: #98785f; font-size: 11px; font-weight: 800; letter-spacing: .13em; line-height: 1.6; }
.contact-panel h3 { margin: 22px 0 17px; font-size: 31px; line-height: 1.15; font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; }
.contact-panel > p { font-size: 14px; line-height: 1.8; color: #626960; }
.pending-contact { display: flex; gap: 13px; align-items: flex-start; background: #f6f2ea; padding: 16px; margin-top: 26px; border-left: 2px solid #ba9574; color: #5d6058; font-size: 12px; line-height: 1.7; }
.pending-contact > span:first-child { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; border: 1px solid #ba9574; border-radius: 50%; font-family: var(--serif); font-style: italic; }
.footer { background: var(--deep-2); color: white; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 38px; padding-block: 76px 62px; }
.footer-brand { text-decoration: none; display: inline-flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; align-self: start; font-size: 15px; font-weight: 750; font-family: var(--sans); letter-spacing: .025em; line-height: 1.15; white-space: nowrap; }
.footer-brand img { width: 63px; height: 63px; object-fit: contain; background: white; }
.footer-brand small { color: inherit; font: inherit; letter-spacing: inherit; }
.footer-main > div { display: flex; flex-direction: column; gap: 13px; align-items: flex-start; }
.footer-label { color: #c8a989; font-size: 11px; font-weight: 800; letter-spacing: .18em; margin-bottom: 13px; }
.footer-main > div a { text-decoration: none; color: #e5e9e3; font-size: 13px; }
.footer-main > div a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); padding-block: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; color: #c9d2c9; }
.footer-bottom a { text-decoration: none; white-space: nowrap; }
.lightbox { border: 0; padding: 0; max-width: min(96vw,1220px); max-height: 94vh; background: #151a16; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(12,17,13,.88); }
.lightbox figure { display: grid; grid-template-rows: minmax(0,1fr) auto; max-height: 94vh; }
.lightbox img { max-height: calc(94vh - 55px); width: 100%; object-fit: contain; }
.lightbox figcaption { padding: 15px 20px; font-size: 13px; }
.lightbox-close { position: absolute; right: 0; top: -46px; background: transparent; color: #fff; border: 0; font-size: 36px; padding: 0 10px; cursor: pointer; }


/* Contacto — datos y formulario accesibles */
.contact-header { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:36px; }
.contact-header h2 { margin-bottom:0; }
.contact-header > p { max-width:420px; color:#515a4f; font-size:16px; line-height:1.8; margin:0 0 7px; }
.contact-grid { align-items:stretch; gap:25px; grid-template-columns: .95fr 1.05fr; }
.contact-panel { min-width:0; }
.contact-details { display:flex; flex-direction:column; }
.contact-details h3 { margin-bottom:30px; }
.contact-method { border-top:1px solid #e5e0d6; padding:19px 0; }
.contact-method-label { display:block; font-size:10px; letter-spacing:.16em; font-weight:800; color:#907b62; margin-bottom:10px; }
.contact-method address { font-size:16px; font-style:normal; line-height:1.8; color:#344038; }
.contact-method a { color:#2b4635; text-decoration:none; font-size:clamp(14px,1.45vw,18px); font-weight:650; overflow-wrap:anywhere; line-height:1.6; }
.contact-method a:hover, .contact-directions:hover, .map-heading a:hover { text-decoration:underline; }
.contact-directions { display:inline-flex; gap:15px; margin-top:auto; padding-top:16px; align-self:flex-start; font-weight:700; text-decoration:none; color:#2b4635; font-size:14px; }
.contact-form-panel > p { margin-top:0; }
.contact-form { display:grid; gap:17px; margin-top:19px; }
.form-row { display:flex; flex-direction:column; gap:7px; }
.form-row label { font-size:11px; font-weight:750; color:#3e473d; letter-spacing:.06em; }
.form-row input,.form-row textarea { width:100%; font:inherit; font-size:14px; color:#24392b; padding:13px 14px; border:1px solid #d6d7d0; background:#fff; border-radius:0; }
.form-row input:focus,.form-row textarea:focus { outline:2px solid #668d6d; outline-offset:1px; }
.form-row textarea { resize:vertical; min-height:126px; }
.form-submit { justify-self:start; border:0; cursor:pointer; }
.form-explanation { margin:0 !important; font-size:12px !important; line-height:1.6 !important; color:#5c655b !important; }
.contact-map-block { margin-top:28px; background:#fffefa; border:1px solid rgba(58,50,37,.13); }
.map-heading { padding:23px 28px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.map-heading h3 { font-family:var(--serif); font-size:28px; line-height:1.2; font-weight:500; margin:7px 0 0; }
.map-heading a { text-decoration:none; font-size:13px; font-weight:700; color:#2b4635; }
.contact-map-block iframe { display:block; width:100%; height:370px; border:0; background:#e5e8df; }
.map-fallback { margin:0; font-size:12px; padding:13px 28px; color:#5c655b; }
@media (max-width:840px) {
  .contact-header { align-items:start; flex-direction:column; gap:19px; }
  .contact-grid { grid-template-columns:1fr; }
  .contact-panel { max-width:none; }
}
@media (max-width:590px) {
  .contact-header { margin-bottom:25px; }
  .contact-map-block iframe { height:280px; }
  .map-heading { align-items:start; flex-direction:column; padding:19px; }
  .map-fallback { padding:12px 19px; }
}
@media (max-width: 1080px) {
  .brand-name { font-size: 14px; }
  .main-nav { gap: 16px; }
  .hero-grid { grid-template-columns: .92fr 1.08fr; }
  .hero-copy { padding-bottom: 24px; }
  .hero-foot { margin-top: 60px; }
  .hero-visual { height: clamp(410px,45vw,560px); }
  .product-meta span + span::before { padding-right: 15px; }
}
@media (max-width: 840px) {
  .topline-inner span:last-child { display: none; }
  .header-inner { min-height: 78px; }
  .brand-logo { width: 53px; height: 53px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--rule); width: 48px; height: 44px; cursor: pointer; }
  .menu-toggle span { display: block; height: 2px; width: 22px; background: var(--ink); }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 15px var(--gutter) 25px; box-shadow: 0 16px 22px rgba(0,0,0,.08); }
  .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 15px 0; }
  .main-nav .nav-contact { justify-content: space-between; padding-inline: 17px; margin-top: 7px; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero { padding-top: 54px; }
  .hero-copy { padding: 0; }
  h1 { max-width: 800px; font-size: clamp(52px, 9vw, 75px); }
  .hero-lead { max-width: 580px; }
  .hero-foot { display: none; }
  .hero-visual { height: clamp(365px, 62vw, 610px); margin-inline: 15px 0; }
  .intro-grid, .finishes-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-body { padding: 0; }
  .section-head { align-items: start; flex-direction: column; gap: 24px; }
  .section-head > p { max-width: 640px; }
  .finishes h2 { max-width: 690px; }
  .decorative-ring { display: none; }
  .contact-grid { gap: 33px; }
  .contact-panel { max-width: 700px; }
}
@media (max-width: 590px) {
  :root { --gutter: 21px; }
  .topline-inner { font-size: 9px; padding-block: 8px; letter-spacing: .12em; }
  .brand-logo { width: 47px; height: 47px; }
  .brand-name { font-size: clamp(9px, 2.7vw, 13px); letter-spacing: 0; }
  .brand-sub { font-size: inherit; }
  .header-inner { min-height: 72px; }
  .hero { padding-block: 42px 28px; }
  .eyebrow { font-size: 9px; letter-spacing: .13em; }
  h1 { font-size: clamp(45px, 12.5vw, 66px); margin: 23px 0; }
  .hero-lead { font-size: 16px; line-height: 1.7; }
  .hero-actions { gap: 20px; }
  .btn { padding: 16px 19px; font-size: 12px; }
  .hero-visual { height: 330px; margin-left: 8px; }
  .hero-visual::before { inset: -12px 12px 12px -12px; }
  .hero-caption { padding: 38px 12px 12px; font-size: 8px; }
  .hero-scroll { margin-top: 15px; font-size: 9px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { padding-block: 24px; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--rule); }
  .fact strong { font-size: 35px; }
  .section { padding-block: 76px; }
  h2 { font-size: clamp(37px, 10.5vw, 53px); }
  .intro-body .text-large { font-size: 18px; }
  .section-head { margin-bottom: 34px; }
  .overview-photo { margin-bottom: 48px; }
  .overview-photo img { height: 270px; }
  .overview-photo figcaption { flex-direction: column; gap: 6px; padding: 12px; line-height: 1.6; font-size: 10px; }
  .product-grid { grid-template-columns: 1fr; row-gap: 50px; }
  .product-info { padding-top: 20px; }
  .product-info h3 { font-size: 34px; }
  .product-meta { gap: 10px; }
  .product-meta span + span::before { content: none; }
  .finish-list > div { min-height: 76px; grid-template-columns: 23px 1fr 15px; gap: 8px; }
  .finish-list strong { font-size: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .gallery-item { grid-column: span 1; aspect-ratio: 1 !important; min-height: 0; }
  .gallery-1, .gallery-6, .gallery-7 { grid-column: span 2; aspect-ratio: 1.7 !important; }
  .gallery-item > span { inset-inline: 10px; bottom: 11px; font-size: 11px; }
  .contact-panel { padding: 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 18px; padding-block: 55px; }
  .footer-brand { grid-column: span 2; font-size: clamp(9px, 2.65vw, 13px); gap: 9px; }
  .footer-bottom { display: flex; flex-wrap: wrap; align-items: flex-start; flex-direction: column; gap: 9px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Mapa revisado: vista previa accesible incluso si el navegador bloquea iframes. */
.map-preview { min-height: 315px; padding: 44px 32px; background: radial-gradient(ellipse at 15% 10%,rgba(199,214,183,.55),transparent 45%), linear-gradient(125deg,#dce7d4 0%,#edf1e8 55%,#e2eadf 100%); display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap: 30px; text-align:left; }
.map-location-icon { width: 108px; height: 108px; border-radius:50%; background:#254a37; color:#fff; display:flex; align-items:center; justify-content:center; flex:none; font-size:65px; box-shadow:0 14px 34px rgba(27,56,41,.13); }
.map-location-icon span { line-height:1; transform:translateY(-4px); }
.map-location-copy { min-width: min(250px,100%); max-width:620px; }
.map-location-copy strong { font-family:var(--serif); font-weight:550; font-size:clamp(25px,3vw,35px); color:#20382b; line-height:1.1; }
.map-location-copy p { line-height:1.75; font-size:16px; color:#394b3a; margin:12px 0 20px; }
.map-buttons { display:flex; flex-wrap:wrap; gap:11px; }
.map-load-button,.map-google-button { font:inherit; font-size:13px; font-weight:750; line-height:1.3; padding:12px 17px; text-decoration:none; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.map-load-button { color:#fff; background:#254a37; border:1px solid #254a37; }
.map-google-button { color:#254a37; border:1px solid #254a37; background:transparent; }
.map-load-button:hover,.map-google-button:hover { filter:brightness(.9); }
.map-live { background:#fff; }
.map-live[hidden],.map-preview[hidden] { display:none; }
.map-live-note { color:#435547; background:#edf1e9; padding:13px 22px; margin:0; font-size:12px; line-height:1.5; }
.map-live-note a { color:#254a37; font-weight:750; }
.map-iframe-slot iframe { display:block; width:100%; height:370px; border:0; background:#e1e8dc; }
.map-hide-button { background:#fffefa; color:#254a37; border:0; padding:13px 22px; cursor:pointer; font:inherit; font-weight:700; font-size:12px; text-decoration:underline; }
@media(max-width:590px) { .map-preview { padding:28px 22px; align-items:flex-start; justify-content:flex-start; gap:17px; } .map-location-icon { width:75px; height:75px; font-size:48px; } .map-location-copy { min-width:100%; } .map-buttons { flex-direction:column; align-items:stretch; } .map-iframe-slot iframe {height:290px;} }


/* Páginas legales y privacidad de la versión preliminar */
.footer-legal { display: flex; flex-wrap: wrap; align-items:center; gap:14px 24px; }
.footer-legal a { color:#f4ede3; text-decoration: underline; text-underline-offset: 4px; }
.form-privacy-note { padding:14px 16px; margin:0; border-left:3px solid #aa8665; background:#f2f0e9; color:#384537; font-size:12px; line-height:1.7; }
.form-privacy-note a { text-decoration:underline; }
.legal-lead { background:#ece9e1; border-bottom:1px solid var(--rule); padding:66px 0 55px; }
.legal-eyebrow { font-size:11px; text-transform:uppercase; color:var(--copper); letter-spacing:.2em; font-weight:800; }
.legal-lead h1 { font-size: clamp(43px, 5vw, 73px); margin:20px 0; }
.legal-lead p { max-width:730px; font-size:16px; color:var(--ink-soft); line-height:1.8; }
.legal-section { padding-block:64px 96px; }
.legal-layout { display:grid; grid-template-columns: minmax(210px,.3fr) minmax(0,1fr); gap:clamp(30px,5vw,90px); align-items:start; }
.legal-aside { position:sticky; top:120px; }
.legal-aside .card { border:1px solid #d9d7ce; background:#fffdf8; padding:25px; }
.legal-aside p, .legal-aside a { font-size:13px; line-height:1.75; }
.legal-aside a { color:#2b4635; }
.legal-content { max-width:860px; }
.legal-content h2 { font-family:var(--sans); font-size:20px; font-weight:700; letter-spacing:0; margin:46px 0 14px; line-height:1.4; }
.legal-content h2:first-child { margin-top:0; }
.legal-content p, .legal-content li { font-size:15px; color:#4a5349; line-height:1.85; margin-bottom:19px; }
.legal-content a { text-decoration:underline; text-underline-offset:3px; }
.legal-content .legal-card { margin:35px 0; background:white; border:1px solid #deddd4; padding:24px 27px; }
.legal-card dl { display:grid; grid-template-columns: 170px 1fr; gap:12px 20px; margin:0; }
.legal-card dt { color:#566055; font-size:12px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.legal-card dd { margin:0; color:#242923; font-size:14px; line-height:1.7; }
.legal-note { background:#f4efe5; border-left:4px solid #a98863; padding:18px 22px; margin:25px 0 35px; color:#433d32; font-size:14px; line-height:1.7; }
.legal-note p { margin:0; }
.legal-return { color:#2b4635; font-weight:750; font-size:13px; text-decoration:underline; text-underline-offset:4px; }
@media(max-width:840px) { .legal-layout { grid-template-columns:1fr; } .legal-aside { position:static; } }
@media(max-width:590px) { .legal-lead { padding:45px 0 35px; } .legal-section { padding-block:45px 80px; } .legal-card dl { grid-template-columns:1fr; gap:3px; } .legal-card dd { margin-bottom:10px; } .footer-legal { gap:10px; } }

/* Contacto por teléfono y correo, sin formulario de recogida de datos. */
.contact-grid-simple { grid-template-columns: 1fr 1fr; align-items: stretch; }
.contact-direct-panel { display:flex; flex-direction:column; justify-content:center; gap:14px; }
.contact-direct-panel h3 { font-family:var(--serif); font-size:clamp(28px,2.7vw,43px); margin:0; }
.contact-direct-panel > p { color:#566255; line-height:1.8; font-size:15px; }
.contact-ctas { display:flex; flex-wrap:wrap; flex-direction:column; align-items:start; gap:15px; margin:11px 0; }
.contact-call-link { font-weight:700; text-decoration:underline; text-underline-offset:4px; color:#244b35; }
.contact-privacy-line { font-size:12px!important; border-top:1px solid #e6e3db; padding-top:19px; margin-top:9px; }
.contact-privacy-line a { color:#254a37; }
.map-consent-note { font-size:12px!important; line-height:1.65!important; color:#3d4e40!important; max-width:650px; margin:0 0 17px!important; }
.map-consent-note a { color:#24563b; font-weight:700; }
.legal-content ul { padding-left:21px; }
.legal-content li { margin-bottom:10px; }
.legal-content .policy-updated { font-size:12px; color:#748071; margin:14px 0 0; }
@media(max-width:840px){ .contact-grid-simple {grid-template-columns:1fr;} }
@media(max-width:590px){ .contact-direct-panel {gap:12px;} .contact-ctas .btn {width:100%; justify-content:space-between;} }


/* Language selector: top bar, always visible on mobile and desktop. */
.topline-inner { gap: 16px; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; font-family: var(--sans); letter-spacing: .045em; }
.lang-switch a { display: inline-block; min-width: 31px; text-align: center; font-size: 12px; font-weight: 750; color: #edf5ed; text-decoration: none; border-radius: 3px; padding: 5px 7px; }
.lang-switch a[aria-current="page"] { background: #f7f5f0; color: #25382f; }
.lang-switch a:not([aria-current="page"]):hover, .lang-switch a:not([aria-current="page"]):focus-visible { text-decoration: underline; }
.lang-divider { color: #cedbd1; font-size: 13px; }
@media(max-width:840px) { .topline-inner > span:nth-of-type(2) { display:none; } .topline-inner {justify-content:space-between;} }
@media(max-width:590px) { .topline-inner > span:first-child {font-size:8px;letter-spacing:.055em;} .lang-switch a {font-size:12px; padding:5px 6px;} }

/* Trois langues : garder les commandes lisibles sur écrans étroits. */
.lang-switch { white-space: nowrap; }
@media(max-width:590px) { .topline-inner { gap: 7px; } .lang-switch { gap: 1px; } .lang-switch a { min-width: 27px; padding: 5px 4px; font-size: 11px; } .topline-inner > span:first-child { max-width: calc(100vw - 155px); } }
