/* Invermix — hoja de estilos (sin frameworks). Medidas y colores tomados de la web original. */
:root {
  --gold: #b59503;
  --gold-dark: #9a7f02;
  --text: #334155;
  --black: #000;
  --grey: #ecf0f2;
  --box: #f3f3f3;
  --line: #eee;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 16px/1.65 var(--font); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 400; color: var(--black); margin: 0; line-height: 1.3; }
p { margin: 0 0 1.25em; }
button { font: inherit; }
.icon, .flag { flex: none; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; }
section[id] { scroll-margin-top: 10px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 0; border-radius: 5px; padding: 10px 22px; font-weight: 500; cursor: pointer; text-decoration: none; transition: background .2s, transform .2s; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); }
.btn--light { background: #f1f1f1; color: #222; }
.btn--light:hover { background: #e4e4e4; }
.btn--big { font-size: 18px; text-transform: uppercase; padding: 15px 45px; }
.btn:disabled { opacity: .7; cursor: wait; }

/* Cabecera */
.header { background: #fff; position: relative; z-index: 30; }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 89px; }
.brand img { width: 220px; height: auto; }
.menu { display: flex; align-items: center; }
.menu > a, .lang__current { display: flex; align-items: center; gap: 6px; padding: 0 16px; min-height: 50px; color: #000; text-decoration: none; font-size: 16px; background: none; border: 0; cursor: pointer; }
.menu > a:hover, .lang__current:hover { color: var(--gold); }
.lang { position: relative; }
.lang__list { position: absolute; right: 0; top: 100%; background: #fff; min-width: 160px; box-shadow: 0 4px 10px -2px rgba(0,0,0,.12); border-top: 2px solid var(--gold); display: none; }
.lang:hover .lang__list, .lang.is-open .lang__list, .lang:focus-within .lang__list { display: block; }
.lang__list a { display: flex; align-items: center; gap: 8px; padding: 10px 16px; color: #000; text-decoration: none; }
.lang__list a:hover { background: #f7f7f7; color: var(--gold); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: #000; cursor: pointer; }

@media (max-width: 921px) {
  .header__inner { min-height: 70px; }
  .brand img { width: 170px; }
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; box-shadow: 0 8px 16px rgba(0,0,0,.08); padding: 6px 0 12px; }
  .menu.is-open { display: flex; }
  .menu > a, .lang__current { padding: 0 var(--gutter); border-bottom: 1px solid #f0f0f0; }
  .lang__list { position: static; display: block; box-shadow: none; border: 0; padding-left: 12px; }
  .lang__list a { padding: 10px var(--gutter); }
}

/* Hero con vídeo */
.hero { position: relative; min-height: 855px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #000; color: #fff; text-align: center; }
.hero__media { position: absolute; inset: 0; background: #000 center/cover no-repeat; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero__inner { position: relative; padding: 0 var(--gutter); }
.hero__logo { width: 400px; max-width: 80vw; margin: 0 auto; }
.hero__tagline { margin: 18px 0 0; font-size: 16px; font-weight: 600; text-transform: capitalize; color: #fff; }
@media (max-width: 767px) { .hero { min-height: 70svh; } }

/* Títulos de sección + separador dorado */
.h-section { font-size: 40px; line-height: 1.3; margin-bottom: 18px; }
.divider { display: block; width: 77px; height: 3px; background: var(--gold); margin: 0 0 20px; }
.divider--center { margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .h-section { font-size: 32px; } }

/* Quiénes somos */
.about { padding: 120px 0; }
.about__grid { display: grid; grid-template-columns: 510px 560px; justify-content: space-between; gap: 50px; }
.about__text p { margin-bottom: 1.4em; }
.about__image { background: #ddd center/cover no-repeat; min-height: 420px; }
@media (max-width: 1100px) { .about__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .about { padding: 70px 0; } .about__grid { grid-template-columns: 1fr; } .about__image { min-height: 360px; } }

.band { background: var(--grey); height: 90px; display: flex; align-items: center; justify-content: center; }
.band img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/* Servicios */
.services { background: var(--grey); display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 120px; }
.services__slides { position: relative; overflow: hidden; min-height: 500px; }
.services__slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity .7s; }
.services__slide.is-active { opacity: 1; animation: kenburns 7.7s linear both; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.3); } }
.services__content { padding: 40px 108px 0 67px; max-width: 676px; }
.checklist { list-style: none; margin: 0 0 40px; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.checklist .icon { margin-top: 6px; color: var(--text); }
.checklist strong { color: var(--text); }
.services__cta { font-size: 30px; text-align: center; line-height: 1.3; margin-top: 30px; }
@media (max-width: 1024px) { .services__content { padding: 40px 40px 0; } }
@media (max-width: 767px) {
  .services { grid-template-columns: 1fr; padding-bottom: 70px; }
  .services__slides { min-height: 300px; }
  .services__content { padding: 40px var(--gutter) 0; }
  .services__cta { font-size: 24px; }
}

/* Mapa */
.map__frame { height: 400px; background: #e8e8e8; position: relative; }
.map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; color: #444; gap: 4px; }
.map__placeholder .icon { color: var(--gold); }
.map__placeholder p { margin: 0; }
.map__hint { font-size: 14px; color: #666; max-width: 460px; }
.map__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; }

/* Cita */
.quote { background: var(--gold); padding: 80px 0; }
.quote__text { margin: 0 auto; max-width: 1120px; color: #fff; font-size: 30px; line-height: 1.2; text-align: center; }
@media (max-width: 767px) { .quote { padding: 60px 0; } .quote__text { font-size: 22px; } }

/* Contacto */
.contact { padding: 40px 0 120px; }
.contact__grid { display: grid; grid-template-columns: 559px 513px; justify-content: space-between; gap: 50px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form textarea { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 11px 12px; font: 15px var(--font); color: #1f2124; }
.form textarea { resize: vertical; min-height: 95px; }
.form input:focus, .form textarea:focus { outline: 2px solid rgba(181,149,3,.35); border-color: var(--gold); }
.form__check { display: flex; align-items: flex-start; gap: 6px; font-size: 15px; color: #1f2124; cursor: pointer; }
.form__check input { margin-top: 5px; }
.form__submit { display: flex; justify-content: center; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { margin: 0; padding: 12px 14px; border-radius: 4px; font-size: 15px; }
.form__msg.is-ok { background: #ecfdf3; color: #14532d; }
.form__msg.is-error { background: #fef2f2; color: #7f1d1d; }
.contact__box { background: var(--box); padding: 40px 30px 50px; text-align: center; margin-top: 70px; }
.contact__item h3 { font-size: 28px; line-height: 1.3; margin: 0 0 6px; }
.contact__item p { color: #000; margin: 0 0 22px; }
.contact__item a { color: #000; text-decoration: none; }
.whatsapp { display: flex; width: 50px; height: 50px; border-radius: 10%; background: #25d366; color: #fff; align-items: center; justify-content: center; transition: transform .2s; }
.whatsapp:hover { transform: scale(1.1); }
@media (max-width: 1100px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .contact { padding: 40px 0 70px; }
  .contact__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .contact__box { margin-top: 0; }
  .contact__item h3 { font-size: 24px; }
}

/* Pie */
.footer { position: relative; color: #fff; background: #000 var(--footer-bg) center/cover no-repeat; }
.footer::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.8); }
.footer > * { position: relative; }
.footer__top { display: flex; justify-content: space-between; gap: 30px; padding-top: 67px; padding-bottom: 20px; }
.footer__brand img { width: 300px; }
.footer__social { display: inline-flex; margin: 18px 0 0 50px; width: 48px; height: 48px; border-radius: 50%; background: #0077b5; color: #fff; align-items: center; justify-content: center; transition: transform .2s; }
.footer__social:hover { transform: scale(1.1); }
.footer__partners { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.partner img { width: 200px; }
.partner--box { background: #fff; border-radius: 8px; padding: 10px 14px; }
.partner--box img { width: 150px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.8); padding-top: 18px; padding-bottom: 20px; text-align: center; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 36px; margin-bottom: 10px; }
.footer__legal a, .footer__legal button { color: #fff; font-size: 13px; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--gold); }
.footer__copy { margin: 0; font-size: 13px; }
@media (max-width: 767px) {
  .footer__top { flex-direction: column; align-items: center; text-align: center; }
  .footer__brand img { width: 240px; margin: 0 auto; }
  .footer__social { margin: 16px auto 0; }
  .footer__partners { align-items: center; }
}

/* Botón subir */
.to-top { position: fixed; right: 30px; bottom: 30px; width: 32px; height: 32px; border-radius: 2px; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 40; }
.to-top.is-visible { opacity: 1; visibility: visible; }

/* Aviso de cookies */
.cookie { position: fixed; right: 10px; bottom: 10px; z-index: 60; width: min(526px, calc(100% - 20px)); background: #fff; border-radius: 12px; box-shadow: 0 0 10px rgba(0,0,0,.35); padding: 20px 22px 16px; font-size: 13px; line-height: 1.5; color: #222; }
.cookie__title { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.cookie__msg { margin: 0 0 14px; }
.cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.cookie__btns .btn--gold { background: #aa9129; }
.cookie__link { display: block; text-align: center; color: #222; font-size: 12px; }

/* Páginas legales */
.legal { padding: 70px 0 100px; }
.legal__wrap { max-width: 900px; }
.legal__title { font-size: 40px; margin-bottom: 30px; }
.legal__body h2 { font-size: 26px; margin: 2em 0 .6em; }
.legal__body h3 { font-size: 21px; margin: 1.6em 0 .5em; }
.legal__body h4 { font-size: 17px; font-weight: 600; margin: 1.2em 0 .4em; }
.legal__body ul, .legal__body ol { padding-left: 1.3em; margin: 0 0 1.25em; }
.legal__body li { margin-bottom: .4em; }
.legal__body strong { color: #111; }
.notfound { text-align: center; }
.notfound__code { font-size: 80px; color: var(--gold); margin: 0; line-height: 1; }

/* Animaciones de entrada (como en el original). Sin JS, todo es visible. */
.js .reveal { opacity: 0; transition: opacity .9s ease, transform .9s ease; }
.js .reveal--left { transform: translateX(-60px); }
.js .reveal--right { transform: translateX(60px); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .services__slide.is-active { animation: none; }
}
