/* ==========================================================================
   Digy Group – estilos principales (diseño V6)
   ========================================================================== */

/* Fuentes (autoalojadas, sin llamadas a Google) */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/nunito-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/nunito-sans-latin-800-normal.woff2") format("woff2"); }

:root {
  --yellow: #ffc82e;
  --yellow-dark: #eaa900;
  --dark: #343235;
  --black: #0f0a0a;
  --grey: #8f9190;
  --beige: #ebe8e5;
  --brand: #e6b33d;
  --font-body: "Nunito Sans", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --font-title: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.5; color: #1b1b1b; background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: #000; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Botones ------------------------------------------------------------- */
.btn { display: inline-block; font-family: var(--font-title); font-size: 19px; letter-spacing: .6px; text-transform: uppercase; text-decoration: none; line-height: 1; padding: 13px 26px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); color: #1a1a1a; }
.btn-yellow:hover { background: #ffd45c; }
.btn-white { background: #fff; color: #222; }
.btn-white:hover { box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.btn-outline-dark { background: #fff; color: #222; border-color: #d8d8d8; }
.btn-outline-dark:hover { border-color: #222; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { filter: brightness(1.08); }
.btn-sm { font-size: 16px; padding: 10px 18px; }
.btn-xs { font-size: 14px; padding: 8px 20px; }

/* Cabecera ------------------------------------------------------------ */
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.site-logo img { width: 96px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav .menu { list-style: none; display: flex; gap: 42px; align-items: center; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { color: #fff; text-decoration: none; font-weight: 300; font-size: 17px; padding: 28px 0; display: inline-block; transition: color .2s; }
.site-nav .menu a:hover, .site-nav .menu .is-active > a { color: var(--yellow); }
.site-nav .menu .is-active > a { font-weight: 600; }
.submenu { list-style: none; position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px); min-width: 230px; background: rgba(214,178,82,.96); border-radius: 0 0 6px 6px; padding: 10px 0; opacity: 0; visibility: hidden; transition: .18s; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { color: #231f20 !important; padding: 8px 18px !important; display: block !important; text-align: center; font-weight: 400 !important; font-size: 15px !important; }
.submenu a:hover { background: rgba(255,255,255,.35); color: #000 !important; }
.client-area { display: inline-flex; align-items: center; gap: 12px; color: var(--yellow); text-decoration: none; font-weight: 300; font-size: 17px; white-space: nowrap; }
.client-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: var(--dark); }
.client-area:hover .client-icon { background: #ffd45c; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Home: hero ---------------------------------------------------------- */
.hero { position: relative; min-height: clamp(460px, 48vw, 640px); display: flex; align-items: center; background: #2c2a2c; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg picture, .hero-bg img { display: block; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center 82%; filter: grayscale(1) brightness(.62) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,28,30,.25) 0%, rgba(15,12,13,.88) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 60px; }
.hero-kicker { font-weight: 300; font-size: clamp(20px, 2.2vw, 28px); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.hero-title { font-family: var(--font-title); font-weight: 400; color: var(--yellow); line-height: .92; text-transform: uppercase; }
.hero-title span { display: block; font-size: clamp(76px, 11.5vw, 170px); }
.hero-title .hero-title-2 { font-size: clamp(54px, 7.6vw, 112px); }
.hero-sub { font-weight: 300; font-size: clamp(19px, 2vw, 26px); line-height: 1.3; max-width: 520px; margin: 22px 0 36px; }
.hero-actions { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-actions .btn { min-width: 170px; text-align: center; font-size: 17px; }

/* Home: banda ecosistema ---------------------------------------------- */
.ecosystem-band { background-color: var(--yellow); background-image: linear-gradient(rgba(255,200,46,.78), rgba(255,200,46,.78)), var(--band-img); background-size: cover; background-position: center; background-blend-mode: normal, multiply; text-align: center; padding: clamp(60px, 8vw, 110px) 0; }
.band-top { font-weight: 300; font-size: clamp(20px, 2.8vw, 36px); text-transform: uppercase; line-height: 1.25; color: #1c1a1b; letter-spacing: .5px; }
.band-top span { font-weight: 800; }
.band-main { font-family: var(--font-title); font-size: clamp(48px, 6.6vw, 96px); text-transform: uppercase; color: #1c1a1b; line-height: 1; margin-top: 22px; }

/* Home: grupo --------------------------------------------------------- */
.group-intro { padding: clamp(50px, 7vw, 90px) 0 clamp(44px, 6vw, 70px); }
.group-intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 90px); align-items: center; position: relative; padding-bottom: clamp(50px, 6vw, 80px); }
.group-intro-grid::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; background: var(--yellow); }
.yellow-heading { color: var(--yellow-dark); font-weight: 800; font-size: 22px; margin-bottom: 16px; }
.bullets { list-style: none; margin-bottom: 18px; }
.bullets li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 15.5px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: #1b1b1b; }
.group-intro-text > p { font-size: 15.5px; margin-bottom: 18px; }
.strong-line { text-align: center; font-weight: 800; font-size: 21px; line-height: 1.3; margin-top: 26px; }
.group-intro-box { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.statement { background: var(--black); border: 2px solid var(--yellow); border-radius: 22px; padding: clamp(30px, 4vw, 54px) clamp(22px, 3vw, 40px); text-align: center; width: 100%; }
.statement p { color: var(--yellow); font-weight: 800; text-transform: uppercase; font-size: clamp(16px, 1.7vw, 22px); line-height: 1.45; }

/* Home: marcas -------------------------------------------------------- */
.brands-home { text-align: center; padding: 10px 0 clamp(60px, 7vw, 90px); }
.big-title { font-family: var(--font-title); font-weight: 400; text-transform: uppercase; font-size: clamp(56px, 7.4vw, 108px); line-height: 1; color: #111; }
.brands-sub { font-weight: 300; text-transform: uppercase; font-size: clamp(20px, 2.6vw, 34px); line-height: 1.25; margin: 8px 0 38px; }

.brand-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px clamp(14px, 2.4vw, 34px); }
.brand-logo { display: block; width: clamp(88px, 8.4vw, 112px); }
.brand-logo span { display: block; height: 52px; background: #cfcfcf; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; transition: background .2s; }
.brand-logo:hover span, .brand-logo.is-current span { background: var(--brand); }

/* Home: números ------------------------------------------------------- */
.numbers { background: linear-gradient(rgba(24,22,24,.78), rgba(24,22,24,.88)), var(--num-img) center / cover no-repeat; text-align: center; padding: clamp(54px, 7vw, 96px) 0; color: #fff; }
.numbers-title { font-family: var(--font-title); font-weight: 400; color: var(--yellow); text-transform: uppercase; font-size: clamp(44px, 5.8vw, 80px); line-height: 1; margin-bottom: 36px; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 900px; margin: 0 auto 44px; }
.stats li { background: rgba(14,12,13,.82); border: 1px solid rgba(255,200,46,.85); border-radius: 14px; padding: 22px 12px 18px; }
.stats strong { display: block; font-family: var(--font-title); font-weight: 400; font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.stats span { display: block; font-size: 12.5px; font-weight: 300; line-height: 1.3; margin-top: 8px; color: #d8d6d6; }
.numbers-claim { color: #ffe28a; font-weight: 300; text-transform: uppercase; font-size: clamp(18px, 2.3vw, 30px); line-height: 1.45; }

/* Formulario de contacto --------------------------------------------- */
.contact-section { background: var(--dark); color: #fff; text-align: center; padding: clamp(56px, 7vw, 90px) 0 clamp(64px, 8vw, 100px); }
.section-title { font-family: var(--font-title); font-weight: 400; text-transform: uppercase; font-size: clamp(48px, 6vw, 80px); line-height: 1; }
.contact-lead { font-weight: 700; font-size: 16.5px; margin: 10px 0 34px; }
.contact-form { max-width: 960px; margin: 0 auto; border: 2px solid #fff; border-radius: 30px; padding: clamp(24px, 4vw, 44px) clamp(20px, 5vw, 56px) 36px; text-align: left; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-full, .field-select, .field-message { grid-column: 1 / -1; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form select, .contact-form textarea {
  width: 100%; border: 2px solid transparent; border-radius: 10px; background: #9d9c9d; color: #151515; font: inherit; font-size: 16px; padding: 0 18px; height: 54px; outline: none; transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none; }
.contact-form textarea { height: auto; min-height: 150px; padding: 16px 18px; resize: vertical; }
.contact-form select { cursor: pointer; font-weight: 600; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M0 0h16L8 10z' fill='%23111'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 48px; }
.contact-form ::placeholder { color: #5f5e5f; opacity: 1; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #fff; }
.contact-form .invalid { border-color: #ff8a80 !important; }
.field-check { margin-top: 20px; }
.field-check label { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.field-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { width: 22px; height: 22px; border: 2px solid #fff; border-radius: 50%; flex: none; display: grid; place-items: center; }
.field-check input:checked + .check-box::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.field-check input:focus-visible + .check-box { outline: 2px solid #fff; outline-offset: 3px; }
.field-check input.invalid + .check-box { border-color: #ff8a80; }
.field-check a { text-decoration: underline; }
.form-legal { font-size: 12px; line-height: 1.45; opacity: .85; margin-top: 10px; max-width: 760px; }
.form-legal a { text-decoration: underline; }
.form-actions { text-align: center; margin-top: 26px; }
.form-actions .btn { min-width: 250px; font-size: 21px; padding: 15px 34px; }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-status { text-align: center; font-weight: 700; margin-top: 16px; min-height: 1.4em; }
.form-status.is-ok { color: #b9f0c4; }
.form-status.is-error { color: #ffb4ab; }

/* Variante amarilla (home) */
.digy-light-end .contact-section { background: var(--yellow); }
.digy-light-end .contact-form input[type="text"], .digy-light-end .contact-form input[type="email"], .digy-light-end .contact-form input[type="tel"], .digy-light-end .contact-form select, .digy-light-end .contact-form textarea { background: #ffe9a8; }
.digy-light-end .contact-form ::placeholder { color: #b8995a; }
.digy-light-end .contact-form select { color: #151515; }
.digy-light-end .form-status.is-ok { color: #174d27; }
.digy-light-end .form-status.is-error { color: #7a1710; }
.digy-light-end .contact-form .invalid { border-color: #b3261e !important; }

/* Cabecera de páginas interiores -------------------------------------- */
.page-hero-img { height: clamp(190px, 28vw, 400px); background-color: #444; overflow: hidden; }
.page-hero-img picture, .page-hero-img img { display: block; width: 100%; height: 100%; }
.page-hero-img img { object-fit: cover; }
.page-hero-bar { background: var(--dark); padding: 22px 0; }
.page-hero-bar h1 { font-family: var(--font-title); font-weight: 400; color: #fff; font-size: clamp(26px, 3vw, 34px); text-transform: uppercase; letter-spacing: .5px; }

/* Nuestras marcas ----------------------------------------------------- */
.brands-zigzag { padding: clamp(50px, 7vw, 90px) 0 clamp(60px, 8vw, 100px); }
.brands-zigzag .container { position: relative; }
.zigzag-title { position: absolute; right: 28px; top: 30px; width: 30%; text-align: center; font-family: var(--font-title); text-transform: uppercase; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; color: #1c1a1b; }
.brand-card { width: min(640px, 66%); margin-bottom: clamp(36px, 5vw, 60px); }
.brand-card.is-right { margin-left: auto; }
.brand-card-body { position: relative; display: flex; align-items: flex-start; gap: 24px; background: var(--beige); border-radius: 28px; padding: 26px 30px clamp(70px, 8vw, 100px) 26px; }
.brand-tile { flex: none; width: 112px; height: 112px; background: var(--brand); border-radius: 10px; display: grid; place-items: center; margin: -2px 0 0 -2px; padding: 14px; transition: transform .2s; }
.brand-tile:hover { transform: scale(1.04); }
.brand-tile img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.brand-card-text p { font-size: 15.5px; line-height: 1.35; margin: 4px 0 18px; max-width: 360px; }
.brand-card-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.brand-card-photo { display: block; width: 62%; margin-top: calc(-1 * clamp(52px, 6vw, 76px)); margin-left: 6%; position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.12); aspect-ratio: 16 / 9; }
.brand-card.is-right .brand-card-photo { margin-left: auto; margin-right: 6%; }
.brand-card-photo picture, .brand-card-photo img { display: block; width: 100%; height: 100%; }
.brand-card-photo img { object-fit: cover; transition: transform .5s; }
.brand-card-photo:hover img { transform: scale(1.04); }

/* Páginas de marca ---------------------------------------------------- */
.brand-bar { background: var(--brand); color: #fff; padding: 20px 0; }
.brand-bar-inner { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; }
.brand-bar-logo { height: 64px; width: auto; max-width: 200px; object-fit: contain; object-position: left center; }
.brand-bar-tagline { font-family: var(--font-title); text-transform: uppercase; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.05; letter-spacing: .4px; }
.brand-bar-contact { text-align: right; font-weight: 700; font-size: 13.5px; line-height: 1.5; }
.brand-bar-contact a { text-decoration: none; }
.brand-bar-contact a:hover { text-decoration: underline; }

.brand-info { padding: clamp(50px, 6vw, 80px) 0 clamp(30px, 4vw, 50px); }
.brand-info .container { max-width: 1000px; }
.info-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; margin-bottom: clamp(34px, 5vw, 60px); }
.info-row.is-reverse .info-photo { order: -1; }
.info-text h2 { font-family: var(--font-title); font-weight: 400; color: var(--brand); text-transform: uppercase; font-size: 24px; letter-spacing: .6px; margin-bottom: 6px; }
.info-text p { text-align: justify; hyphens: auto; font-size: 15.5px; line-height: 1.55; }
.info-text ol { padding-left: 22px; margin-top: 8px; }
.info-text ol li { text-align: justify; margin-bottom: 8px; font-size: 15.5px; line-height: 1.5; }
.info-photo { border-radius: 26px; overflow: hidden; aspect-ratio: 5 / 4; background: #ddd; }
.info-photo picture, .info-photo img { display: block; width: 100%; height: 100%; }
.info-photo img { object-fit: cover; }

.services-panel-wrap { padding: 10px 0 0; }
.services-panel-wrap .container { max-width: 1080px; }
.services-panel { background: var(--grey); border-radius: 38px; padding: clamp(36px, 5vw, 56px) clamp(22px, 4vw, 48px) clamp(40px, 5vw, 60px); text-align: center; color: #fff; }
.services-panel h2 { font-family: var(--font-title); font-weight: 400; text-transform: uppercase; font-size: clamp(46px, 6vw, 80px); line-height: 1; }
.services-intro { font-weight: 300; text-transform: uppercase; font-size: clamp(14px, 1.5vw, 18px); line-height: 1.45; max-width: 760px; margin: 14px auto 38px; opacity: .92; }
.services-list { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 18px; text-align: center; }
.service-icon { width: 68px; height: 68px; margin: 0 auto 12px; }
.services-list h3 { font-family: var(--font-title); font-weight: 400; text-transform: uppercase; font-size: 17px; line-height: 1.05; letter-spacing: .3px; margin-bottom: 8px; }
.services-list p { font-weight: 300; font-size: 12.5px; line-height: 1.35; opacity: .92; }

.brands-bottom { text-align: center; padding: 34px 0 54px; }
.brands-bottom h2 { font-family: var(--font-title); font-weight: 400; text-transform: uppercase; color: var(--grey); font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 14px; }
.brands-bottom .brand-logo span { height: 44px; }

/* Páginas genéricas --------------------------------------------------- */
.plain-page { padding: 70px 0 90px; min-height: 50vh; }
.plain-page h1 { font-family: var(--font-title); font-weight: 400; font-size: 54px; text-transform: uppercase; margin-bottom: 22px; }
.entry-content p { margin-bottom: 1em; max-width: 780px; }

/* Footer -------------------------------------------------------------- */
.site-footer { background: var(--dark); color: #fff; padding: clamp(40px, 5vw, 64px) 0 36px; }
.digy-light-end .site-footer { background: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1.35fr 1fr 1.05fr 1.35fr; gap: 28px; align-items: start; }
.footer-brand img { width: 124px; height: auto; }
.footer-tagline { font-weight: 800; font-size: 15px; line-height: 1.35; margin: 22px 0 26px; max-width: 220px; }
.social { list-style: none; display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid #fff; border-radius: 50%; color: #fff; transition: background .2s, color .2s; }
.social a:hover { background: #fff; color: var(--dark); }
.footer-h { font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col li { font-weight: 300; font-size: 14.5px; line-height: 1.5; margin-bottom: 8px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-copy { margin-top: 10px; }
.footer-copy p { text-align: left; padding-left: 24%; }
.footer-copy p { font-weight: 300; font-size: 14.5px; }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 1020px) {
  .site-nav .menu { gap: 26px; }
  .site-nav { gap: 22px; }
  .services-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-copy p { padding-left: 0; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--dark); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 28px 26px; display: none; border-top: 1px solid rgba(255,255,255,.1); max-height: calc(100vh - 84px); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav .menu a { padding: 14px 0; display: block; border-bottom: 1px solid rgba(255,255,255,.08); }
  .submenu { position: static; transform: none; opacity: 1; visibility: visible; display: none; background: rgba(255,255,255,.06); box-shadow: none; padding: 4px 0; margin-bottom: 4px; }
  .has-sub.open .submenu { display: block; transform: none; }
  .submenu a { color: #fff !important; text-align: left; border: 0 !important; }
  .site-nav .btn { margin-top: 18px; text-align: center; }
  .client-area { margin-top: 18px; justify-content: center; }
  .group-intro-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .zigzag-title { position: static; width: auto; margin-bottom: 36px; }
  .brand-card { width: 100%; }
  .brand-bar-inner { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .brand-bar-contact { text-align: left; }
  .info-row { grid-template-columns: 1fr; }
  .info-row.is-reverse .info-photo { order: 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero-actions { gap: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .brand-card-body { flex-direction: column; padding-bottom: 80px; }
  .brand-card-photo, .brand-card.is-right .brand-card-photo { width: 88%; margin-left: 6%; margin-right: 6%; }
  .services-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .group-intro-grid::after { left: 20px; right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Oficinas ------------------------------------------------------------ */
.offices { padding: clamp(50px, 6vw, 80px) 0; background: #fff; }
.offices .section-title { color: #111; text-align: center; margin-bottom: 34px; }
.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #e4e4e4; }
.office { padding: 30px clamp(18px, 2.6vw, 34px) 28px; border-left: 1px solid #e4e4e4; }
.office:first-child { border-left: 0; padding-left: 0; }
.office-icon { width: 34px; height: 34px; color: var(--yellow-dark); margin-bottom: 14px; }
.office-tag { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a8a8a; }
.office.is-main .office-tag { color: var(--yellow-dark); }
.office h3 { font-size: 22px; font-weight: 600; margin: 4px 0 12px; color: #222; }
.office-desc { color: #555; font-size: 15px; line-height: 1.65; min-height: 6.6em; margin-bottom: 18px; }
.office dl { margin: 0 0 16px; font-size: 14px; color: #555; line-height: 1.7; }
.office dt { color: #999; font-size: 13.5px; margin-top: 6px; }
.office dd { margin: 0; }
.office-links { display: flex; flex-direction: column; gap: 6px; }
.office-links a { color: #b87f00; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.office-links a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .offices-grid { grid-template-columns: 1fr; }
  .office, .office:first-child { border-left: 0; border-top: 1px solid #e4e4e4; padding-left: 0; padding-right: 0; }
  .office:first-child { border-top: 0; }
  .office-desc { min-height: 0; }
}

/* Selector de idioma ---------------------------------------------------- */
.lang-switch { list-style: none; display: flex; gap: 2px; align-items: center; margin-left: -6px; }
.lang-switch a { display: block; padding: 6px 7px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.65); text-decoration: none; border-radius: 4px; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-current { color: var(--dark); background: var(--yellow); }
@media (max-width: 900px) { .lang-switch { margin: 18px 0 0; justify-content: center; gap: 6px; } .lang-switch a { padding: 8px 12px; font-size: 14px; } }

/* Migas de pan ---------------------------------------------------------- */
.breadcrumbs { padding: 14px 0 0; font-size: 13.5px; color: #777; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #aaa; }
.breadcrumbs a { color: #555; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: #222; font-weight: 600; }
.brand-bar-tagline { margin: 0; }
