/* Marc Elvira — estilos del tema. Idénticos a la web original, adaptados al marcado de Elementor. */
:root{--bg:#f6f2ec;--bg2:#ece5db;--ink:#1d1b19;--mute:#6b645b;--acc:#fdc61f;--gold:#8a6400;--accink:#1d1b19;--line:#d9d0c3;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);color-scheme:light}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#171513;--bg2:#211e1b;--ink:#f1ebe2;--mute:#a69d91;--acc:#fdc61f;--gold:#fdc61f;--accink:#171513;--line:#37322c;color-scheme:dark}}
:root[data-theme="dark"]{--bg:#171513;--bg2:#211e1b;--ink:#f1ebe2;--mute:#a69d91;--acc:#fdc61f;--gold:#fdc61f;--accink:#171513;--line:#37322c;color-scheme:dark}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(env(safe-area-inset-top,0px) + 70px)}
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.65 Inter,system-ui,sans-serif}
img{max-width:100%;display:block}
a{color:inherit}
[hidden]{display:none!important}

/* ---------- Cabecera (tema) ---------- */
.site-header{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:#1d1b19}
body.admin-bar .site-header{top:calc(env(safe-area-inset-top,0px) + 32px)}
@media(max-width:782px){body.admin-bar .site-header{top:calc(env(safe-area-inset-top,0px) + 46px)}}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:21;background:#1d1b19}
.site-header nav{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{display:flex;align-items:center;gap:14px;text-decoration:none;color:#f1ebe2;font-family:Fraunces,serif;font-size:21px}
.logo img{height:40px;width:auto}
.site-header nav ul{display:flex;gap:28px;list-style:none;margin:0;padding:0;font-size:14px;font-weight:500;letter-spacing:.04em;text-transform:uppercase}
.site-header nav ul a{text-decoration:none;color:#b9b0a3}
.site-header nav ul a:hover{color:#fff}
.site-header nav ul .current-menu-item>a,.site-header nav ul a[aria-current]{color:#fff;box-shadow:0 2px 0 #fdc61f}
.lang{display:flex;align-items:center;gap:8px;color:#6e675d;font-size:13px;font-weight:600}
.lang button{all:unset;cursor:pointer;color:#b9b0a3;letter-spacing:.06em;padding:4px 2px}
.lang button:focus-visible{outline:2px solid #fdc61f;outline-offset:2px}
.lang button[aria-pressed=true]{color:#fdc61f;box-shadow:0 2px 0 #fdc61f}
@media(max-width:560px){.logo span{display:none}}

/* ---------- Botones (tema + widget Botón de Elementor) ---------- */
.btn,
body .elementor-widget-button .elementor-button{display:inline-block;background:var(--acc);color:var(--accink);padding:14px 26px;border-radius:99px;text-decoration:none;font-family:inherit;font-weight:600;font-size:15px;line-height:1.65;letter-spacing:normal;border:0;box-shadow:none;fill:var(--accink)}
body .elementor-widget-button .elementor-button:hover,
body .elementor-widget-button .elementor-button:focus{background:var(--acc);color:var(--accink);box-shadow:none}
body .elementor-widget-button .elementor-button .elementor-button-content-wrapper,
body .elementor-widget-button .elementor-button .elementor-button-text{display:inline}
body .btn-ghost .elementor-button,
body .btn-ghost .elementor-button:hover,
body .btn-ghost .elementor-button:focus{background:transparent;color:inherit;border:1px solid currentColor;fill:currentColor}
button.btn{border:0;cursor:pointer;font-family:inherit;text-transform:uppercase;letter-spacing:.05em}
.site-header .btn{padding:10px 20px;font-size:14px}

/* ---------- Elementor: normalización ---------- */
body .elementor-widget:not(:last-child){margin-block-end:0;margin-bottom:0}
body .elementor-widget-heading .elementor-heading-title{margin:0;padding:0;color:inherit;font:inherit;line-height:inherit}
body .elementor-widget-heading h1.elementor-heading-title,
body .elementor-widget-heading h2.elementor-heading-title,
body .elementor-widget-heading h3.elementor-heading-title,
body .elementor-widget-text-editor h2{font-family:Fraunces,Georgia,serif;font-weight:400;line-height:1.1;margin:0;letter-spacing:-.01em;color:inherit}
body .elementor-widget-heading h2.elementor-heading-title,
body .elementor-widget-text-editor h2{font-size:clamp(32px,4.4vw,54px);margin:12px 0 24px}
body .elementor-widget-text-editor{color:inherit;font:inherit}
body .elementor-widget-text-editor p{margin:1em 0}
body .elementor-widget-image figure{margin:0}
body .elementor-widget-image .elementor-widget-container{display:block}
body .elementor-widget-image img{height:auto}

/* Contenedores */
body .me{display:block;margin:0;width:100%;min-width:0;max-width:none;border:0}
body .wrap{max-width:1180px;margin-left:auto;margin-right:auto}
body .srv{background:var(--bg2)}
body .eyebrow .elementor-heading-title{font-family:inherit;font-size:13px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:var(--gold);line-height:1.65}

/* ---------- Hero ---------- */
body .hero{position:relative;min-height:88vh;display:flex;flex-direction:row;align-items:flex-end;justify-content:flex-start;color:#fff;background-color:#000;background-position:center;background-size:cover}
body .hero::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,.1) 65%);pointer-events:none}
body .hero>.wrap{position:relative;z-index:1;width:auto}
body .hero .eyebrow .elementor-heading-title{color:#fff;font-size:15px}
body .hero h1.elementor-heading-title{font-size:clamp(40px,7vw,88px);max-width:12ch;margin:14px 0 22px}
body .hero-p p{max-width:46ch;font-size:19px;opacity:.9;margin:0 0 30px}
body .hero-btns{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--row-gap,10px) var(--column-gap,10px);align-items:baseline;width:auto}
body .hero-btns>.elementor-widget{width:auto}

/* ---------- Nosotros (resumen) ---------- */
body .about{display:grid;grid-template-columns:1fr 1fr;gap:var(--row-gap,72px) var(--column-gap,72px);align-items:center}
body .about-img img{border-radius:6px;aspect-ratio:4/5;object-fit:cover;width:100%;height:auto}
body .about-text .elementor-widget-text-editor p{color:var(--mute)}
body .about-text .elementor-widget-text-editor p:first-of-type{color:var(--ink);font-size:20px}
body .about-btn{margin:17px 0}

/* ---------- Tarjetas de servicios ---------- */
body .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--row-gap,24px) var(--column-gap,24px);margin-top:48px}
body .card{background:var(--bg);border-radius:6px;overflow:hidden;border:1px solid var(--line)}
body .card .elementor-widget-image img{aspect-ratio:4/3;object-fit:cover;width:100%;height:auto}
body .card h3.elementor-heading-title{font-size:28px;margin:0 0 10px}
body .card-body .elementor-widget-text-editor p{margin:0;color:var(--mute);font-size:16px}
body .more{text-align:center;margin-top:44px}

/* ---------- Galería ---------- */
body .grid{display:block;columns:3;column-gap:var(--column-gap,18px);margin-top:48px}
body .grid .elementor-widget-image{margin:0 0 18px;break-inside:avoid;cursor:zoom-in}
body .grid .elementor-widget-image>.elementor-widget-container{position:relative;overflow:hidden;border-radius:4px;display:block;width:100%}
body .grid .elementor-widget-image img{width:100%;height:auto;transition:transform .5s}
body .grid .elementor-widget-image:hover img{transform:scale(1.04)}
body .grid .elementor-widget-image figure{margin:0}
body .grid .elementor-widget-image figcaption{position:absolute;left:12px;bottom:12px;margin:0;background:var(--bg);color:var(--ink);font-size:12px;font-weight:600;line-height:1.65;text-align:left;padding:4px 12px;border-radius:99px;width:auto}

/* ---------- Cabecera de página ---------- */
body .pagehead{position:relative;overflow:hidden;isolation:isolate;background-color:#1d1b19;background-position:center;background-size:cover;color:#f1ebe2}
body .pagehead::after{content:"";position:absolute;inset:0;background:#1d1b19;opacity:.8;pointer-events:none}
body .pagehead>.wrap{position:relative;z-index:1}
body .pagehead .eyebrow .elementor-heading-title{color:#fdc61f}
body .pagehead h1.elementor-heading-title{font-size:clamp(44px,7vw,84px);margin:12px 0 0}
body .pagehead-p p{max-width:48ch;color:#b9b0a3;margin:6px 0 0;font-size:19px}

/* ---------- Filas Nosotros / Servicios ---------- */
body .svrow{display:grid;grid-template-columns:1fr 1fr;gap:var(--row-gap,72px) var(--column-gap,72px);align-items:center;border-bottom:1px solid var(--line)}
body .svrow:last-child{border-bottom:0}
body .svrow:nth-child(even) .svimg{order:2}
body .svimg img{width:100%;border-radius:6px;aspect-ratio:4/3;object-fit:cover;height:auto}
body .svtag .elementor-heading-title{font-family:inherit;font-size:13px;color:var(--gold);font-weight:600;letter-spacing:.14em}
body .svrow h2.elementor-heading-title{font-size:clamp(30px,3.6vw,44px);margin:10px 0 20px;text-transform:uppercase;letter-spacing:.02em}
body .svtext .elementor-widget-text-editor p{color:var(--mute);margin:0 0 16px}
body .svtext .elementor-widget-text-editor p:first-of-type{color:var(--ink)}
body .svbtn{margin:28px 0 16px}

/* ---------- CTA ---------- */
body .cta{background:var(--ink);color:var(--bg);text-align:center}
body .cta h2.elementor-heading-title{max-width:none;margin:0 auto 32px}

/* ---------- Textos legales ---------- */
body .doc{max-width:780px}
body .doc .elementor-widget-text-editor h2{font-size:26px;margin:40px 0 12px}
body .doc .elementor-widget-text-editor h2:first-child{margin-top:0}
body .doc p,body .doc li{color:var(--mute);margin:0 0 12px}
body .doc ul{padding-left:22px;margin:0 0 12px}
body .doc strong{color:var(--ink)}
body .doc a{color:var(--ink)}

/* ---------- Contacto + Everest Forms ---------- */
body .cgrid{display:grid;grid-template-columns:.8fr 1.2fr;gap:var(--row-gap,72px) var(--column-gap,72px)}
body .cinfo-title .elementor-heading-title{font-family:Fraunces,Georgia,serif;font-weight:400;font-size:28px;line-height:1.65;display:block;margin-bottom:14px}
body .cinfo-text p{margin:0 0 6px;color:var(--mute)}
body .cinfo-text a{color:var(--ink);text-decoration:none;border-bottom:2px solid var(--acc)}
body .cform label,body .cform .evf-field-label{display:block;font-size:14px;font-weight:600;margin:0 0 6px;color:var(--ink)}
body .cform .evf-field{margin:0 0 20px;padding:0}
body .cform input[type=text],body .cform input[type=email],body .cform input[type=tel],body .cform input[type=number],body .cform textarea{width:100%!important;max-width:100%;font:inherit;color:var(--ink);background:var(--bg2);border:1px solid var(--line);border-radius:6px;padding:14px 16px;box-shadow:none;height:auto;line-height:inherit}
body .cform input:focus,body .cform textarea:focus{outline:2px solid #fdc61f;outline-offset:1px;box-shadow:none;border-color:var(--line)}
body .cform textarea{min-height:150px;resize:vertical}
body .cform .evf-field-checkbox ul{list-style:none;margin:0;padding:0}
body .cform .evf-field-checkbox li{margin:0;padding:0}
body .cform .evf-field-checkbox li label{display:flex;gap:12px;align-items:flex-start;font-size:15px;font-weight:400;color:var(--mute);margin:0 0 24px}
body .cform .evf-field-checkbox input[type=checkbox]{margin-top:5px;accent-color:#fdc61f;width:18px;height:18px;flex:none}
body .cform .evf-field-checkbox a{color:var(--ink)}
body .cform .evf-submit-container{margin:0;padding:0}
body .cform button[type=submit],body .cform .everest-forms-submit-button{display:inline-block;background:var(--acc)!important;color:var(--accink)!important;padding:14px 26px;border-radius:99px;border:0;cursor:pointer;font-family:inherit;font-weight:600;font-size:15px;line-height:1.65;text-transform:uppercase;letter-spacing:.05em;box-shadow:none}
body .cform .everest-forms-notice,body .cform .everest-forms-message{margin:18px 0 0;color:var(--mute);font-size:15px;background:none;border:0;padding:0}
body .legal{font-size:13px;color:var(--mute);border-top:1px solid var(--line);margin-top:40px;padding:28px 0 0}
body .legal p{margin:0 0 10px;font-size:13px}
body .legal a{color:var(--ink)}

/* ---------- Mapa y pie (tema) ---------- */
.fullmap{position:relative;width:100%;height:clamp(320px,42vw,480px);background:var(--bg2)}
.fullmap iframe{display:block;width:100%;height:100%;border:0}
.fullmap a{position:absolute;left:24px;bottom:24px;z-index:2;background:#1d1b19;color:#fdc61f;padding:12px 22px;border-radius:99px;font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 4px 18px rgba(0,0,0,.3)}
.site-footer{position:relative;background:#1d1b19;padding:28px 0;font-size:14px;color:#a69d91}
.site-header .wrap,.site-footer .wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.site-footer .wrap{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.site-footer .wrap.fcred{justify-content:flex-end;margin-top:14px;font-size:12px;text-align:right}
.fcred a{color:inherit}.fcred a:hover{color:#fff}
.flinks{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.flinks a{color:inherit;text-decoration:none}.flinks a:hover{color:#fff}
.site-footer img{height:48px;width:auto}
.site-footer .wrap>span{display:flex;align-items:center;gap:14px;position:absolute;left:max(24px,calc((100% - 1180px)/2 + 24px));top:50%;transform:translateY(-50%)}
dialog{border:0;background:transparent;padding:0;max-width:94vw;max-height:94vh}
dialog::backdrop{background:rgba(0,0,0,.88)}
dialog img{max-height:90vh;border-radius:4px}

/* ---------- Responsive ---------- */
@media(max-width:860px){
.site-footer .wrap>span{position:static;transform:none}
.site-footer .wrap{justify-content:space-between}
.site-header nav ul{display:none}
body .about{grid-template-columns:1fr;gap:36px}
body .cards{grid-template-columns:1fr}
body .grid{columns:2}
body .sec{padding-top:72px!important;padding-bottom:72px!important}
body .svrow{grid-template-columns:1fr;gap:28px;padding-top:48px!important;padding-bottom:48px!important}
body .svrow:nth-child(even) .svimg{order:0}
body .pagehead{padding-top:64px!important;padding-bottom:48px!important}
body .cgrid{grid-template-columns:1fr;gap:40px;padding-top:48px!important;padding-bottom:56px!important}
body .hero-btns .btn-ghost{margin:0}
}
@media(max-width:480px){body .grid{columns:1}}
