:root {
  --ink: #102f48;
  --blue: #0878ef;
  --muted: #5b6d7d;
  --line: #dde6ee;
  --pale: #f2f6fa;
  --navy: #082b48;
  --container: 1240px;
}
@font-face { font-family: 'send-icons'; src: url('/assets/75c3ef3736659e09.woff2') format('woff2'); font-display: block; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.local-menu-open, body.local-service-open, body.local-photo-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, input[type="submit"] { cursor: pointer; }
button { color: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
::selection { color: var(--ink); background: #cce4ff; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: 'DM Sans', Inter, sans-serif; }
h1 { font-size: clamp(42px, 5.15vw, 76px); line-height: 1.05; font-weight: 650; letter-spacing: -.055em; }
h2, .accreditation-section h3 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.15; font-weight: 650; letter-spacing: -.04em; }
h3 { font-size: 23px; line-height: 1.25; font-weight: 650; letter-spacing: -.025em; }
strong { font-weight: 650; }
.container { width: min(var(--container), calc(100% - 96px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-copy { color: var(--muted); }
.section-copy p + p, .hero-description p + p { margin-top: 18px; }
.section-copy a, .contact-details a, .drawer-contact a { text-decoration: underline; text-underline-offset: 4px; }
.dmNewParagraph { min-width: 0; }
.dmNewParagraph h2 + p, .dmNewParagraph h3 + p { margin-top: 18px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 13px 24px; color: #fff; background: var(--blue); border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; transition: background .2s, transform .2s; }
.button > span:last-child { font-size: 22px; font-weight: 400; }
.button:hover { background: #0065d1; transform: translateY(-2px); }
.button.light { background: #fff; color: var(--ink); }
.button.light:hover { background: #deedff; }

/* Encabezado compacto, navegación visible y menú móvil independiente. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { width: min(1440px, calc(100% - 64px)); min-height: 90px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex-shrink: 0; display: block; }
.brand img { width: 132px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.desktop-nav a { position: relative; padding: 32px 0; color: #4e5c68; font-size: 14px; font-weight: 500; line-height: 24px; }
.desktop-nav a[aria-current], .desktop-nav a:hover { color: var(--blue); }
.desktop-nav a[aria-current]::after { content: ''; position: absolute; width: 20px; height: 2px; background: var(--blue); bottom: 21px; left: 0; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-call { font-size: 13px; font-weight: 600; white-space: nowrap; }
.header-call::before { content: '\f095'; font: 16px 'send-icons'; color: var(--blue); margin-right: 8px; }
.header-call > span:last-child { display: none; }
.multilingualWidget { position: relative; line-height: 1; }
.multilingualWidget ul { list-style: none; padding: 0; margin: 0; }
.multilingualWidget img { width: 23px; height: 16px; object-fit: cover; }
.multilingualWidget a { display: flex; gap: 8px; align-items: center; padding: 10px 4px; }
.multilingualWidget span { font-size: 11px; font-weight: 600; }
.other-languages { display: none; position: absolute; top: 100%; right: -10px; padding: 6px 10px !important; border: 1px solid var(--line); background: white; border-radius: 6px; box-shadow: 0 6px 20px #102f4812; }
.local-language-open .other-languages { display: block; }
.hamburgerButton { display: none; border: 0; padding: 8px; background: transparent; width: 36px; height: 38px; }
.hamburgerButton span { display: block; height: 2px; width: 23px; background: var(--ink); margin: 6px auto; }
#hamburger-drawer { position: fixed; z-index: 100; inset: 0 0 0 auto; width: min(420px, 100%); padding: 24px 32px 40px; background: white; box-shadow: -100vw 0 0 100vw #082b4873; }
#hamburger-drawer[aria-hidden="true"] { display: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 34px; }
.drawer-top img { width: 120px; }
.drawer-top .hamburgerButton { display: block; font-size: 32px; }
#hamburger-drawer nav { display: grid; }
#hamburger-drawer nav a { padding: 18px 0; font-size: 23px; font-family: 'DM Sans', sans-serif; border-bottom: 1px solid var(--line); }
#hamburger-drawer nav a[aria-current] { color: var(--blue); }
.drawer-contact { margin-top: 40px; color: var(--muted); font-size: 15px; }

/* Portada: texto claro a la izquierda, video de trabajo a la derecha. */
.hero-home { padding: 54px 0 64px; }
.hero-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: 60px; align-items: center; }
.hero-copy h1 { max-width: 640px; }
.hero-description { margin-top: 28px; max-width: 550px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.hero-description strong { color: #435c71; }
.hero-copy .button { margin-top: 30px; }
.hero-media { position: relative; align-self: stretch; min-height: 580px; padding: 0 0 24px 0; }
.hero-media video { width: 100%; height: 100%; position: absolute; top: 0; left: 0; object-fit: cover; border-radius: 18px 18px 18px 80px; z-index: 1; }
.media-accent { position: absolute; width: 50%; height: 36%; right: -16px; bottom: -16px; border-radius: 18px; background: var(--blue); }
.intro-section { padding-top: 56px; padding-bottom: 60px; background: var(--pale); }
.intro-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.intro-video { display: flex; align-items: center; background: var(--navy); overflow: hidden; border-radius: 14px; }
.intro-video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.facts-panel { background: var(--navy); border-radius: 14px; padding: 28px 32px; display: grid; gap: 24px; color: white; }
.fact { display: grid; grid-template-columns: 34px 1fr; gap: 18px; align-items: center; font-size: 14px; line-height: 1.5; }
.fact svg { width: 30px; height: 36px; }
.fact a { text-decoration: underline; text-underline-offset: 3px; }
.fact p + p { margin-top: 8px; }
.accreditation-section { padding: 72px 0; }
.accreditation-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.accreditation-layout .section-copy :is(h2, h3) { color: var(--ink); }
.accreditation-layout .section-copy p { font-size: 14px; line-height: 1.7; max-width: 500px; }
.logo-gallery .photogallery-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo-gallery .photogallery-column { min-width: 0; flex: 1; }
.logo-gallery img { height: 84px; width: 100%; object-fit: contain; }
.logo-gallery .caption-text { display: none; }
.home-services { background: var(--pale); }
.services-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.services-feature .section-copy { margin-top: 22px; max-width: 540px; }
.services-feature .button { margin-top: 26px; }
.services-feature > img { border-radius: 16px; height: 450px; width: 100%; object-fit: cover; }
.projects-section { background: var(--navy); color: white; }
.project-window { overflow: hidden; border-radius: 14px; }
[data-auto="slider-filmRole"] { display: flex; width: calc(var(--slide-count) * 100%); transition: transform .5s ease; }
.project-slide { flex: 0 0 calc(100% / var(--slide-count)); display: grid; grid-template-columns: 1.7fr 1fr; min-width: 0; background: #103952; }
.project-slide > img { width: 100%; height: 450px; object-fit: cover; }
.project-caption { padding: 48px; display: flex; justify-content: flex-end; flex-direction: column; gap: 18px; transition: opacity .3s; }
.project-caption h3 { font-size: 34px; line-height: 1.15; letter-spacing: -.035em; }
.project-caption p { font-size: 14px; color: #c0d4e4; }
.slider-controls { display: flex; align-items: center; justify-content: flex-end; gap: 22px; margin-top: 22px; }
.slider-controls button { width: 46px; height: 46px; border: 1px solid #7894a8; color: white; border-radius: 50%; font-size: 22px; background: transparent; }
.slider-controls button:hover { background: var(--blue); border-color: var(--blue); }
.slider-controls span { font-size: 13px; font-variant-numeric: tabular-nums; color: #bed3e3; }
.contact-preview { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-photo { width: 100%; height: 100%; max-height: 760px; min-height: 500px; object-fit: cover; border-radius: 16px; }
.contact-preview .section-copy { margin-top: 20px; max-width: 560px; }
.home-contact .dmforminput { grid-column: 1 / -1; }
.contact-details { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.contact-details p:first-child { color: var(--ink); }

/* Páginas interiores: títulos grandes, imágenes y proporciones equilibradas. */
.page-hero { background: var(--pale); }
.page-hero-layout { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 60px; min-height: 330px; }
.page-hero h1 { max-width: 540px; font-size: clamp(42px, 5vw, 68px); }
.page-hero img { height: 330px; width: 100%; object-fit: cover; }
.services-intro { padding: 64px 0 56px; }
.services-intro .section-copy { max-width: 930px; font-size: 17px; }
.services-section { padding-bottom: 96px; }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.service-card { position: relative; grid-column: span 2; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.service-card:nth-last-child(-n+2) { grid-column: span 3; }
.service-card:hover { border-color: #9bc9f6; box-shadow: 0 12px 36px #082b480d; }
.service-icon { width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; background: #edf5ff; margin-bottom: 26px; }
.service-icon svg { width: 34px; height: 34px; }
.service-card h3 { font-size: 22px; }
.service-copy { color: var(--muted); margin-top: 15px; font-size: 14px; line-height: 1.75; }
.service-copy p + p { margin-top: 3px; }
.service-link { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; margin-top: auto; color: var(--blue); font-size: 14px; font-weight: 600; }
.service-link span:last-child { font-size: 21px; line-height: 1; }
.why-section { background: var(--navy); color: white; padding: 64px 0; }
.why-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: 90px; align-items: center; }
.why-layout > img { width: 100%; height: 350px; object-fit: cover; border-radius: 12px; }
.why-layout .section-copy { color: #c3d5e4; margin: 22px 0 26px; font-size: 15px; max-width: 480px; }
.about-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.about-intro > img { width: 100%; height: 560px; object-fit: cover; border-radius: 16px; }
.about-intro .section-copy { margin-top: 26px; font-size: 15px; }
.about-intro .button { margin-top: 28px; }
.guarantees-section { background: var(--pale); padding: 52px 0; }
.guarantees-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; }
.guarantee svg { width: 42px; height: 42px; margin-bottom: 20px; }
.guarantee h3 { font-size: 20px; }
.guarantee .dmNewParagraph + .dmNewParagraph { margin-top: 12px; font-size: 14px; color: var(--muted); }
.philosophy-section h2 { margin-bottom: 40px; }
.philosophy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.philosophy-card { border-top: 2px solid var(--blue); padding: 28px 0 0; }
.philosophy-card > svg { width: 46px; height: 46px; margin-bottom: 22px; }
.philosophy-card .dmNewParagraph + .dmNewParagraph { margin-top: 16px; color: var(--muted); font-size: 15px; }
.team-section { background: var(--pale); }
.team-section h2 { margin-bottom: 40px; }
.team-gallery .photogallery-row { display: flex; gap: 26px; }
.team-gallery .photogallery-column { flex: 1; min-width: 0; }
.team-gallery .image-container { overflow: hidden; border-radius: 12px; }
.team-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s; }
.team-gallery a:hover img { transform: scale(1.025); }
.team-gallery .caption-title { margin-top: 20px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.team-gallery .caption-title h3 { font-size: 18px; }
.team-gallery .caption-text { margin-top: 6px; font-size: 13px; color: var(--muted); }
.contact-section { background: #fff; }
.contact-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: start; }
.eyebrow { color: var(--blue); text-transform: uppercase; font-weight: 600; font-size: 12px; letter-spacing: .1em; margin-bottom: 16px; }
.contact-form-panel h2 { font-size: 42px; }
.contact-form-panel .section-copy { margin-top: 24px; font-size: 15px; }
.contact-address { background: var(--pale); border-radius: 16px; padding: 34px; font-size: 15px; }
.contact-address .dmNewParagraph p:first-child { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.contact-address a { color: var(--blue); }
.contact-address .social-links { margin: 26px 0; }
.map-panel { overflow: hidden; border-radius: 10px; background: #e5ebf2; }
.map-panel iframe { display: block; width: 100%; height: 320px; border: 0; }
.modern-form { margin-top: 32px; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dmforminput.full { grid-column: 1 / -1; }
.dmforminput label { display: block; color: var(--ink); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.dmforminput input, .dmforminput textarea { width: 100%; min-height: 46px; border: 1px solid #d5e0e9; background: #f9fbfd; border-radius: 7px; padding: 10px 12px; color: var(--ink); font-size: 16px; }
.dmforminput textarea { min-height: 120px; resize: vertical; }
.dmforminput input:focus, .dmforminput textarea:focus { border-color: var(--blue); background: #fff; }
.dmformsubmit { display: inline-flex; align-items: center; margin-top: 24px; border-radius: 8px; padding: 0 20px 0 0; background: var(--blue); color: white; }
.dmformsubmit input { border: 0; padding: 14px 20px; background: transparent; color: white; font-size: 14px; font-weight: 600; }
.dmformsubmit span { font-size: 22px; }
.local-form-status { padding: 14px 16px; margin-top: 18px; font-size: 14px; border-left: 3px solid var(--blue); background: var(--pale); }

/* Pie completo, con el folleto y los enlaces existentes. */
.site-footer { border-top: 1px solid var(--line); padding: 58px 0 24px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 60px; }
.site-footer .brand img { width: 168px; }
.site-footer nav { display: grid; gap: 12px; align-content: start; font-size: 14px; }
.site-footer nav a:hover { color: var(--blue); }
.social-links { display: flex; align-items: center; gap: 15px; }
.social-links a { width: 34px; height: 34px; display: grid; place-items: center; font-size: 21px; line-height: 1; font-weight: 650; border: 1px solid var(--line); border-radius: 50%; }
.social-links a:hover { border-color: var(--blue); color: var(--blue); }
.social-links svg { width: 17px; height: 17px; }
.social-glyph { font: 16px 'send-icons'; }
.brochure-link { display: inline-flex; gap: 20px; margin-top: 22px; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.copyright { margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 20px; }

/* Galería y fichas originales, controladas localmente. */
.local-service-overlay { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; z-index: 150; background: transparent; }
.pswp { display: none; position: fixed; inset: 0; z-index: 160; color: white; }
.pswp.pswp--open { display: block; }
.pswp__bg { position: absolute; inset: 0; background: #061827f5; }
.pswp__container, .pswp__item { position: absolute; inset: 0; }
.pswp__img { position: absolute; max-width: none; }
.pswp__ui button { position: absolute; width: 46px; height: 46px; background: #ffffff14; color: white; border: 1px solid #ffffff25; border-radius: 50%; font-size: 24px; }
.viewer-controls { position: absolute; top: 18px; right: 18px; display: flex; gap: 8px; }
.viewer-controls button { position: static; }
.pswp__counter { position: absolute; top: 28px; left: 24px; font-size: 14px; }
.pswp__button--arrow--left { left: 18px; top: 50%; }
.pswp__button--arrow--right { right: 18px; top: 50%; }
.pswp__caption__center { position: absolute; bottom: 12px; left: 12px; right: 12px; text-align: center; font-size: 14px; }
.pswp__share-modal { position: absolute; top: 80px; right: 18px; padding: 18px; background: #fff; border-radius: 10px; color: var(--ink); }
.pswp__share-modal--hidden { display: none; }
.pswp__share-tooltip { display: grid; gap: 10px; font-size: 14px; }

@media (max-width: 1100px) {
  .header-inner { gap: 18px; }
  .desktop-nav { gap: 20px; }
  .header-call { font-size: 0; }
  .header-call::before { font-size: 20px; margin: 0; }
  .hero-layout, .services-feature, .contact-preview, .about-intro, .contact-layout, .why-layout { gap: 40px; }
  .hero-media { min-height: 580px; }
  .project-caption { padding: 30px; }
  .accreditation-layout { gap: 40px; }
  .facts-panel { padding: 28px; }
  .service-card { padding: 25px; }
}
@media (max-width: 900px) {
  .container { width: calc(100% - 56px); }
  .desktop-nav { display: none; }
  .hamburgerButton { display: block; }
  .hero-layout { gap: 30px; }
  .hero-media { min-height: 600px; }
  .hero-copy h1 { font-size: 48px; }
  .intro-layout { grid-template-columns: 1fr; }
  .intro-video video { max-height: 430px; }
  .facts-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .fact { display: block; }
  .fact svg { margin-bottom: 12px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card, .service-card:nth-last-child(-n+2) { grid-column: auto; }
  .about-intro > img { height: 620px; }
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-address { padding: 26px; }
  .contact-form-panel h2 { font-size: 34px; }
  .form-fields { gap: 16px; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 40px); }
  .section { padding: 56px 0; }
  .header-inner { width: calc(100% - 32px); min-height: 78px; gap: 16px; }
  .brand img { width: 112px; }
  .header-actions { gap: 13px; }
  .header-call { display: block; }
  .hero-home { padding: 38px 0 48px; }
  .hero-layout { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy h1 { font-size: clamp(40px, 9.2vw, 62px); line-height: 1.08; }
  .hero-description { font-size: 14px; margin-top: 22px; }
  .hero-copy .button { margin-top: 24px; }
  .hero-media { min-height: 380px; margin-right: 10px; }
  .hero-media video { border-radius: 12px 12px 12px 50px; }
  .media-accent { right: -10px; bottom: -10px; border-radius: 12px; }
  .intro-section { padding-top: 40px; padding-bottom: 40px; }
  .facts-panel { grid-template-columns: 1fr; padding: 24px; gap: 22px; }
  .fact { display: grid; }
  .fact svg { margin: 0; }
  .accreditation-layout { grid-template-columns: 1fr; gap: 30px; }
  .logo-gallery .photogallery-row { gap: 18px; }
  .logo-gallery img { height: 66px; }
  .services-feature { grid-template-columns: 1fr; gap: 30px; }
  .services-feature > img { height: 320px; }
  .project-slide { grid-template-columns: 1fr; }
  .project-slide > img { height: 340px; }
  .project-caption { min-height: 152px; padding: 26px; gap: 12px; }
  .project-caption h3 { font-size: 28px; }
  .slider-controls { justify-content: center; }
  .contact-preview { grid-template-columns: 1fr; gap: 32px; }
  .contact-photo { min-height: 0; height: 300px; }
  .contact-details { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .page-hero-layout { grid-template-columns: 1fr; gap: 26px; padding-top: 38px; padding-bottom: 28px; }
  .page-hero h1 { font-size: 46px; }
  .page-hero img { height: 230px; border-radius: 10px; }
  .services-intro { padding: 40px 0; }
  .services-intro .section-copy { font-size: 15px; }
  .service-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { padding: 26px; }
  .service-icon { margin-bottom: 22px; }
  .services-section { padding-bottom: 56px; }
  .why-section { padding: 44px 0; }
  .why-layout { grid-template-columns: 1fr; gap: 32px; }
  .why-layout > img { height: 260px; }
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .about-intro > img { height: 340px; }
  .about-intro h2 { font-size: 34px; }
  .guarantees-grid { grid-template-columns: 1fr; gap: 32px; }
  .guarantees-section { padding: 38px 0; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 30px; }
  .philosophy-section h2 { margin-bottom: 30px; }
  .philosophy-card { padding-top: 24px; }
  .team-gallery .photogallery-row { display: block; }
  .team-gallery .photogallery-row + .photogallery-row { margin-top: 30px; }
  .team-gallery img { aspect-ratio: 1.05 / 1; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-panel h2 { font-size: 34px; }
  .contact-address { padding: 26px; }
  .form-fields { grid-template-columns: 1fr; gap: 18px; }
  .dmforminput.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .site-footer .brand { grid-column: 1 / -1; }
  .site-footer .brand img { width: 142px; }
  .site-footer nav { font-size: 13px; }
  .copyright { flex-direction: column; gap: 10px; margin-top: 32px; }
  .viewer-controls button { width: 38px; height: 38px; }
  .viewer-controls { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
