@charset "UTF-8";

/* ========================================
   VARIABLES · Colores y medidas generales
   ======================================== */
:root {
  --paper: #f7f6f2;
  --ink: #242621;
  --muted: #64675e;
  --line: #d9dad2;
  --accent: #aa3e19;
  --orange: #da562a;
  --dark: #21251f;
  --cream: #eeede5;
  --wrap: 1360px;
  --footer-bg: #000000;
  --projects-bg: #3e7c51;
}

/* ========================================
   BASE · Accesibilidad, enlaces y contenedores
   ======================================== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: #f0bd91;
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: calc(100% - 104px);
  max-width: var(--wrap);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px 22px;
  background: #fff;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}

/* ========================================
   BARRA SUPERIOR · Datos de contacto
   ======================================== */
.utility {
  background: var(--dark);
  color: #e1e3da;
  font-size: 11px;
  letter-spacing: 0.035em;
  padding: 8px 0;
}
.utility > .wrap,
.utility > .wrap > div {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}
.utility a {
  color: #fff;
}
.utility a span {
  margin-left: 12px;
}

/* ========================================
   CABECERA · Marca y navegación
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(247, 246, 242, 0.97);
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  line-height: 1.05;
}
.wordmark strong {
  font-size: 35px;
  letter-spacing: -1.7px;
  font-weight: 750;
}
.wordmark small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.19em;
  margin-top: 7px;
}
.brand-dot {
  width: 16px;
  height: 16px;
  background: var(--orange);
  border-radius: 50%;
  align-self: flex-start;
  margin-top: 8px;
}
.brand-period {
  color: var(--orange);
}
.navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a,
.language-nav a,
.menu-toggle,
.header-contact {
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-size: 12px;
  line-height: 1.4;
  position: relative;
  padding: 13px 0;
  max-width: 110px;
}
.main-nav a:hover,
.main-nav a[aria-current] {
  color: var(--accent);
}
.main-nav a[aria-current]:after {
  position: absolute;
  bottom: 2px;
  left: 0;
  content: '';
  width: 18px;
  height: 2px;
  background: var(--accent);
}
.language-nav {
  display: flex;
  gap: 10px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.language-nav a {
  font-size: 10px;
  opacity: 0.65;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 24px;
}
.language-nav img {
  width: 18px;
  height: 12px;
  object-fit: cover;
}
.language-nav a[aria-current],
.language-nav a:hover {
  opacity: 1;
}
.language-nav a[aria-current] {
  font-weight: bold;
  color: var(--accent);
}
.header-contact {
  font-size: 13px;
  border-bottom: 1px solid var(--ink);
  padding: 8px 0;
  white-space: nowrap;
}
.header-contact span {
  margin-left: 14px;
}
.menu-toggle {
  display: none;
}

/* ========================================
   TIPOGRAFÍA · Títulos y enlaces compartidos
   ======================================== */
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(48px, 5.6vw, 84px);
  margin-bottom: 0;
}
h2 {
  font-size: clamp(34px, 4vw, 58px);
  margin-bottom: 24px;
}
h3 {
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -0.035em;
}
.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 600;
  display: block;
  margin-bottom: 25px;
}
.eyebrow > span {
  color: var(--muted);
  font-weight: 400;
}

/* ========================================
   INICIO · Presentación y carrusel
   ======================================== */
.hero-heading {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 70px;
  padding: 62px 0 48px;
  align-items: end;
}
.hero-heading h1 {
  max-width: 900px;
}
.hero-intro p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 310px;
  margin-bottom: 25px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding: 9px 0;
  line-height: 1.5;
}
.text-link:hover {
  color: var(--accent);
}
.text-link span {
  font-size: 18px;
}
.hero-carousel {
  position: relative;
  background: #e9e9e5;
}
.hero-images .hero-slide {
  width: 100%;
  height: auto;
}
.hero-images .hero-slide + .hero-slide {
  border-top: 8px solid var(--paper);
}
.is-enhanced .hero-images .hero-slide {
  border: 0;
  aspect-ratio: 2099/751;
  object-fit: contain;
}
.carousel-controls {
  display: none;
  align-items: center;
  gap: 18px;
  background: var(--paper);
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 18px 0 0 25px;
}
.is-enhanced .carousel-controls {
  display: flex;
}
.slide-count {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  min-width: 62px;
  white-space: nowrap;
}
.slide-count > span:last-child {
  color: var(--muted);
  font-size: 11px;
}
.carousel-controls button {
  border: 0;
  background: transparent;
  min-width: 40px;
  min-height: 40px;
  font-size: 23px;
  padding: 0;
}
.carousel-controls button:hover {
  color: var(--accent);
}
.carousel-dots {
  display: flex;
  gap: 5px;
}
.carousel-dots button {
  min-width: 24px;
  min-height: 40px;
  position: relative;
}
.carousel-dots button:after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a5a79d;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.carousel-dots button[aria-pressed='true']:after {
  background: var(--accent);
  width: 7px;
  height: 7px;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

/* ========================================
   SERVICIOS · Secciones y tarjetas
   ======================================== */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
}
.section-heading {
  margin-bottom: 45px;
}
.section-heading .eyebrow {
  margin-bottom: 18px;
}
.section-heading h2 {
  max-width: 660px;
}
.section-description {
  max-width: 750px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
}
.service {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
}
.service + .service {
  border-left: 1px solid var(--line);
  padding-left: 35px;
}
.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  font-size: 11px;
  color: var(--muted);
}
.service-meta img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.service h3 {
  font-size: 29px;
  max-width: 300px;
  margin-bottom: 23px;
}
.service h3 a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.service h3 a:hover {
  color: var(--accent);
}
.service h3 span {
  font-size: 23px;
}
.service p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 30px;
}
.service > .text-link {
  align-self: flex-start;
  margin-top: auto;
}

/* ========================================
   PROYECTOS SELECCIONADOS · Fondo verde y galería
   ======================================== */
.work-section {
  background: var(--projects-bg);
  color: var(--paper);
}
.work-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.work-heading h2 {
  margin: 0;
}
.work-heading > p {
  font-size: 15px;
  color: var(--paper);
  margin: 0 0 4px;
}
.work-heading .eyebrow {
  color: var(--paper);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 24px;
}
.work-image {
  position: relative;
  overflow: hidden;
  background: #edf0e5;
  aspect-ratio: 1.27;
}
.work-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s;
}
.work-image > .work-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.work-card:hover .work-hover,
.work-card:focus-visible .work-hover {
  opacity: 1;
}
.work-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #88ac91;
}
.work-caption h3 {
  font-size: 15px;
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 400;
}
.work-caption > span {
  font-size: 22px;
}

/* ========================================
   SOLUCIONES GRÁFICAS · Galería
   ======================================== */
.graphics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.graphic-item {
  border-bottom: 1px solid var(--line);
}
.graphic-item > img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: contain;
  background: #fff;
  transition: transform 0.2s;
}
.graphic-item h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 20px 0;
}
.graphic-item:hover h3 {
  color: var(--accent);
}

/* ========================================
   EMPRESA · Presentación
   ======================================== */
.about-section {
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.about-grid h2 {
  font-size: clamp(34px, 3.4vw, 50px);
}
.about-grid p {
  font-size: 15px;
  line-height: 1.9;
  color: #53574b;
  margin-bottom: 25px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: var(--ink);
  color: #fff;
  padding: 15px 24px;
  font-size: 13px;
}
.button:hover {
  background: var(--accent);
}
.button span {
  font-size: 20px;
}

/* ========================================
   INFORMACIÓN LOCAL · Irun y Gipuzkoa
   ======================================== */
.local-section {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 35px;
  align-items: center;
  padding-block: 65px;
}
.local-marker {
  color: var(--accent);
  font-size: 60px;
  font-weight: 300;
  line-height: 1;
}
.local-section h2 {
  font-size: 25px;
  letter-spacing: -0.035em;
  margin-bottom: 15px;
}
.local-section p {
  font-size: 14px;
  color: var(--muted);
  max-width: 780px;
  margin: 0;
}
.local-section .text-link {
  max-width: 190px;
}

/* ========================================
   CONTACTO · Llamada a la acción y datos
   ======================================== */
.contact-section {
  background: var(--orange);
  color: #201b15;
  padding: 65px 0 0;
}
.contact-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 45px;
}
.contact-top h2 {
  font-size: clamp(40px, 4.8vw, 68px);
  max-width: 800px;
  margin-bottom: 20px;
}
.contact-top p {
  margin: 0;
  font-size: 15px;
}
.contact-arrow {
  font-size: 100px;
  line-height: 1.2;
  align-self: center;
}
.contact-arrow:hover {
  transform: translate(3px, -3px);
}
.contact-details {
  border-top: 1px solid #a44120;
  padding-block: 25px;
  display: flex;
  gap: 35px;
  justify-content: space-between;
  font-size: 13px;
}
.contact-details a,
.contact-details p {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
}
.contact-details img {
  width: 16px;
  height: 18px;
  object-fit: contain;
}
.contact-details a:hover {
  text-decoration: underline;
}

/* ========================================
   FOOTER · Fondo negro y textos en mayúsculas
   ======================================== */
.site-footer {
  background: var(--footer-bg);
  color: var(--paper);
  text-transform: uppercase;
}
.footer-main {
  padding-block: 50px 35px;
  display: flex;
  justify-content: space-between;
  gap: 45px;
  align-items: center;
}
.footer-brand > img {
  width: 130px;
}
.footer-brand > p {
  font-size: 11px;
  color: #d2d2d2;
  margin: 20px 0 0;
}
.footer-links {
  display: flex;
  gap: 35px;
  font-size: 12px;
}
.footer-links a:hover {
  color: #f59a71;
}
.back-top {
  font-size: 11px;
  white-space: nowrap;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid #606060;
  color: #d2d2d2;
  font-size: 10px;
}
.footer-bottom > div {
  display: flex;
  gap: 25px;
}

/* ========================================
   PÁGINAS INTERIORES · Navegación y presentación
   ======================================== */
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  padding-top: 28px;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.page-hero {
  padding-top: 45px;
  padding-bottom: 60px;
}
.page-hero h1 {
  max-width: 1100px;
}
.page-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-top: 35px;
}
.page-intro > p {
  max-width: 650px;
  margin: 0;
  font-size: 17px;
  color: var(--muted);
}
.page-intro .text-link {
  flex-shrink: 0;
}

/* ========================================
   DETALLE DE SERVICIOS · Textos e imágenes
   ======================================== */
.preamble {
  padding: 5px 0 30px;
}
.preamble p {
  max-width: 900px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
}
.service-sections {
  padding-bottom: 85px;
}
.service-detail {
  padding-block: 60px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  align-items: center;
}
.service-detail:nth-child(even) .detail-copy {
  order: 2;
}
.service-detail:nth-child(even) .detail-gallery {
  order: 1;
}
.detail-copy h2 {
  font-size: 43px;
  margin-bottom: 25px;
}
.detail-copy h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--muted);
}
.detail-copy p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}
.detail-copy .text-link {
  margin-top: 10px;
}
.detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.detail-gallery .zoom-image:first-child {
  grid-column: span 2;
}
.zoom-image {
  display: block;
  position: relative;
  overflow: hidden;
  background: #eeeee9;
  cursor: zoom-in;
}
.zoom-image img {
  width: 100%;
  height: auto;
}
.zoom-mark {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--paper);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.zoom-image:hover .zoom-mark {
  background: var(--orange);
}
.single-image {
  display: block;
}
.single-image .zoom-image {
  background: white;
  padding: 12px;
}

/* ========================================
   AUDIOVISUALES · Contenido y galería
   ======================================== */
.av-content {
  padding-bottom: 100px;
}
.av-copy {
  max-width: 800px;
  padding-bottom: 35px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
}
.av-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.av-gallery .zoom-image:first-child {
  grid-column: span 2;
}

/* ========================================
   PRIVACIDAD · Contenido informativo
   ======================================== */
.legal-content {
  max-width: 850px;
  padding-top: 50px;
  padding-bottom: 100px;
}
.legal-content h1 {
  font-size: 50px;
  margin-bottom: 40px;
}
.legal-content h2 {
  font-size: 23px;
  margin-top: 40px;
  margin-bottom: 25px;
}
.legal-content p {
  line-height: 1.95;
  font-size: 15px;
  color: var(--muted);
}

/* ========================================
   VISOR DE IMÁGENES · Ventana ampliada
   ======================================== */
.image-dialog {
  border: none;
  padding: 60px 25px 25px;
  background: var(--dark);
  color: var(--paper);
  width: min(1200px, 94vw);
  max-height: 94dvh;
  overflow: auto;
}
.image-dialog::backdrop {
  background: #111c;
  backdrop-filter: blur(4px);
}
.image-dialog > img {
  max-height: 74dvh;
  max-width: 100%;
  width: auto;
  margin: auto;
  object-fit: contain;
}
.dialog-close {
  position: absolute;
  right: 18px;
  top: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 8px 12px;
  font-size: 13px;
}
.dialog-caption {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12px;
  color: #c2c6b8;
}

/* ========================================
   COOKIES · Banner y preferencias
   ======================================== */
.privacy-settings {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  text-transform: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-settings:hover {
  color: #f59a71;
}
body {
  padding-bottom: var(--cookie-banner-height, 0px);
}
.privacy-panel {
  position: fixed;
  z-index: 50;
  inset: auto 0 0;
  background: #fff;
  color: var(--ink);
  border-top: 3px solid var(--orange);
  box-shadow: 0 -8px 40px #00000014;
  max-height: 85dvh;
  overflow-y: auto;
  font-family: 'Segoe UI', SegoeUI, Tahoma, Arial, sans-serif;
}
.privacy-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 28px;
}
.privacy-copy {
  max-width: 850px;
}
.privacy-panel h2 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
.privacy-panel p {
  font-size: 16px;
  line-height: 1.6;
  color: #565950;
  margin: 0 0 8px;
}
.privacy-copy > a {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-copy > a:hover {
  color: var(--accent);
}
.privacy-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.privacy-actions button {
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 12px 24px;
  min-width: 125px;
  min-height: 48px;
  font-size: 16px;
  line-height: 1.4;
}
.privacy-actions button:hover {
  background: var(--ink);
  color: #fff;
}
@media (max-width: 1100px) {
  .privacy-inner {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .privacy-copy {
    max-width: none;
  }
}
@media (max-width: 760px) {
  .privacy-inner {
    gap: 18px;
    padding-block: 22px;
  }
  .privacy-panel h2 {
    font-size: 22px;
  }
  .privacy-actions {
    align-self: stretch;
  }
  .privacy-actions button {
    min-width: 0;
    flex: 1;
    padding-inline: 16px;
  }
}
@media print {
  body {
    padding-bottom: 0;
  }
  .privacy-panel,
  .privacy-settings {
    display: none !important;
  }
}
.language-nav a {
  min-height: 36px;
}
.footer-bottom .privacy-settings {
  min-height: 24px;
}
html:not(.js) .menu-toggle {
  display: none;
}
@media (max-width: 1100px) {
  html:not(.js) .header-inner {
    height: auto;
    min-height: 85px;
    flex-wrap: wrap;
    padding-block: 20px;
  }
  html:not(.js) .navigation {
    position: static;
    padding: 0;
    box-shadow: none;
    border: 0;
    flex-basis: 100%;
  }
}
@media (max-width: 760px) {
  .footer-bottom > div {
    text-align: left;
  }
}

/* ========================================
   ADAPTACIÓN · Pantallas grandes
   ======================================== */
@media (min-width: 1600px) {
  .wrap {
    width: calc(100% - 160px);
  }
}

/* ========================================
   ADAPTACIÓN · Pantallas medianas
   ======================================== */
@media (max-width: 1200px) {
  .wrap {
    width: calc(100% - 70px);
  }
  .navigation {
    gap: 18px;
  }
  .main-nav {
    gap: 14px;
  }
  .main-nav a {
    font-size: 11px;
    max-width: 97px;
  }
  .header-inner {
    gap: 25px;
  }
  .wordmark strong {
    font-size: 31px;
  }
  .language-nav {
    gap: 5px;
    padding-left: 14px;
  }
  .header-contact {
    font-size: 12px;
  }
  .hero-heading {
    gap: 45px;
  }
  .service-detail {
    gap: 55px;
  }
  .footer-links {
    gap: 20px;
  }
  .contact-details {
    gap: 20px;
    font-size: 12px;
  }
}

/* ========================================
   ADAPTACIÓN · Menú móvil y tablet
   ======================================== */
@media (max-width: 1100px) {
  .header-inner {
    height: 85px;
    position: relative;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    padding: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
  }
  .menu-toggle > span {
    margin-left: 0;
  }
  .navigation {
    position: absolute;
    top: 85px;
    left: -35px;
    right: -35px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 25px 35px;
    box-shadow: 0 15px 25px #20251f0d;
    flex-wrap: wrap;
  }
  .js .navigation {
    display: none;
  }
  .js .navigation.is-open {
    display: flex;
  }
  .main-nav {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .main-nav a {
    font-size: 15px;
    max-width: none;
  }
  .language-nav {
    border: 0;
    padding: 12px 0;
    gap: 20px;
  }
  .language-nav a {
    min-width: 36px;
    flex-direction: row;
    font-size: 11px;
  }
  .header-contact {
    margin-left: auto;
  }
  .hero-heading {
    grid-template-columns: 1.8fr 1fr;
    gap: 35px;
  }
  .hero-intro p {
    font-size: 14px;
  }
  .hero-intro .text-link {
    font-size: 12px;
  }
  .hero-heading h1 {
    font-size: 62px;
  }
  .contact-details {
    flex-wrap: wrap;
  }
  .contact-details p {
    width: 100%;
  }
  .footer-main {
    flex-wrap: wrap;
  }
  .back-top {
    margin-left: auto;
  }
  .service h3 {
    font-size: 25px;
  }
  .service p {
    font-size: 13px;
  }
  .section {
    padding-block: 75px;
  }
  .local-section {
    grid-template-columns: 40px 1fr;
    gap: 25px;
  }
  .local-section .text-link {
    grid-column: 2;
    justify-self: start;
  }
  .about-grid {
    gap: 50px;
  }
  .detail-copy h2 {
    font-size: 35px;
  }
}

/* ========================================
   ADAPTACIÓN · Móviles
   ======================================== */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .utility {
    font-size: 10px;
    padding: 7px 0;
  }
  .utility > .wrap > span {
    display: none;
  }
  .utility > .wrap > div {
    width: 100%;
    gap: 10px;
  }
  .header-inner {
    height: 77px;
    gap: 20px;
  }
  .wordmark strong {
    font-size: 29px;
  }
  .wordmark small {
    font-size: 9px;
    margin-top: 5px;
  }
  .brand-dot {
    width: 12px;
    height: 12px;
    margin-top: 7px;
  }
  .wordmark {
    gap: 9px;
  }
  .navigation {
    top: 77px;
    left: -20px;
    right: -20px;
    padding: 20px;
  }
  .main-nav {
    gap: 4px;
  }
  .main-nav a {
    font-size: 14px;
  }
  .hero-heading {
    display: block;
    padding: 40px 0 30px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
  }
  .eyebrow > span {
    display: block;
    margin-top: 4px;
  }
  .hero-heading h1 {
    font-size: clamp(40px, 8.8vw, 65px);
    max-width: 650px;
  }
  .hero-intro {
    margin-top: 27px;
    display: flex;
    align-items: end;
    gap: 25px;
  }
  .hero-intro p {
    max-width: 420px;
    margin-bottom: 0;
    flex: 1;
  }
  .hero-intro .text-link {
    flex: 0 0 145px;
    gap: 15px;
  }
  .hero-carousel {
    margin-inline: -20px;
  }
  .carousel-controls {
    position: static;
    padding: 8px 20px;
    gap: 12px;
    justify-content: flex-end;
  }
  .slide-count {
    margin-right: auto;
  }
  .carousel-dots {
    margin-right: 10px;
  }
  .hero-bottom {
    font-size: 8px;
    letter-spacing: 0.08em;
    padding-block: 14px;
  }
  .section {
    padding-block: 55px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-heading h2 {
    font-size: 37px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .service {
    padding-top: 20px;
  }
  .service + .service {
    border-left: 0;
    padding-left: 0;
  }
  .service-meta {
    margin-bottom: 15px;
  }
  .service-meta img {
    width: 44px;
    height: 44px;
  }
  .service h3 {
    max-width: none;
    font-size: 28px;
    margin-bottom: 17px;
  }
  .service p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .service .text-link {
    margin: 0;
  }
  .work-heading {
    display: block;
  }
  .work-heading > p {
    margin-top: 15px;
    font-size: 14px;
  }
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 16px;
  }
  .work-caption h3 {
    font-size: 12px;
    line-height: 1.4;
  }
  .work-caption {
    padding-block: 10px;
  }
  .work-caption > span {
    font-size: 17px;
  }
  .graphics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 16px;
  }
  .graphic-item h3 {
    font-size: 15px;
    margin-block: 14px;
    line-height: 1.4;
  }
  .section-description {
    font-size: 14px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .about-grid h2 {
    font-size: 37px;
    max-width: 600px;
  }
  .about-grid p {
    font-size: 14px;
  }
  .local-section {
    padding-block: 45px;
    gap: 15px;
  }
  .local-marker {
    font-size: 45px;
    align-self: start;
  }
  .local-section h2 {
    font-size: 25px;
  }
  .local-section p {
    font-size: 13px;
  }
  .contact-section {
    padding-top: 45px;
  }
  .contact-top {
    gap: 20px;
    padding-bottom: 30px;
  }
  .contact-top h2 {
    font-size: 41px;
    margin-bottom: 17px;
  }
  .contact-top p {
    font-size: 14px;
  }
  .contact-arrow {
    font-size: 60px;
    align-self: flex-start;
    margin-top: 25px;
  }
  .contact-details {
    display: grid;
    gap: 15px;
    padding-block: 22px;
  }
  .contact-details a,
  .contact-details p {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .contact-details img {
    flex-shrink: 0;
  }
  .footer-main {
    padding-top: 35px;
    gap: 30px;
  }
  .footer-brand > img {
    width: 110px;
  }
  .footer-links {
    display: grid;
    gap: 12px;
    margin-left: auto;
    font-size: 11px;
  }
  .back-top {
    margin-left: 0;
  }
  .footer-bottom {
    align-items: start;
    font-size: 10px;
  }
  .footer-bottom > div {
    flex-direction: column;
    gap: 8px;
    text-align: right;
  }
  .footer-brand p {
    font-size: 10px;
    max-width: 160px;
  }
  .breadcrumb {
    padding-top: 20px;
    font-size: 10px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .page-hero {
    padding-top: 35px;
    padding-bottom: 35px;
  }
  .page-hero h1 {
    font-size: clamp(42px, 8vw, 64px);
    overflow-wrap: anywhere;
  }
  .page-intro {
    display: block;
    margin-top: 25px;
  }
  .page-intro > p {
    font-size: 15px;
  }
  .page-intro .text-link {
    margin-top: 18px;
  }
  .preamble p {
    font-size: 15px;
  }
  .service-sections {
    padding-bottom: 40px;
  }
  .service-detail {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 35px;
  }
  .service-detail:nth-child(even) .detail-copy,
  .service-detail:nth-child(even) .detail-gallery {
    order: initial;
  }
  .detail-copy h2 {
    font-size: 35px;
  }
  .detail-copy h3 {
    font-size: 20px;
  }
  .detail-copy p {
    font-size: 14px;
  }
  .detail-gallery {
    gap: 10px;
  }
  .av-content {
    padding-bottom: 50px;
  }
  .av-copy {
    font-size: 15px;
    padding-bottom: 15px;
  }
  .av-gallery {
    gap: 12px;
  }
  .legal-content {
    padding-top: 30px;
    padding-bottom: 55px;
  }
  .legal-content h1 {
    font-size: 35px;
    overflow-wrap: anywhere;
  }
  .legal-content p {
    font-size: 14px;
  }
  .legal-content h2 {
    font-size: 22px;
  }
}

/* ========================================
   ADAPTACIÓN · Móviles pequeños
   ======================================== */
@media (max-width: 420px) {
  .hero-intro {
    display: block;
  }
  .hero-intro .text-link {
    margin-top: 15px;
  }
  .hero-heading h1 {
    font-size: 42px;
  }
  .contact-top h2 {
    font-size: 34px;
  }
  .contact-arrow {
    font-size: 45px;
  }
  .footer-main {
    align-items: start;
  }
  .footer-links {
    margin-left: 0;
    flex: 1;
  }
  .main-nav a {
    font-size: 13px;
  }
  .work-caption h3 {
    font-size: 11px;
  }
  .graphics-grid {
    gap: 20px 12px;
  }
  .contact-details {
    font-size: 11px;
  }
  .contact-details a {
    font-size: 11px;
  }
}

/* ========================================
   ACCESIBILIDAD · Movimiento reducido
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* ========================================
   IMPRESIÓN · Versión en papel
   ======================================== */
@media print {
  .utility,
  .navigation,
  .menu-toggle,
  .carousel-controls,
  .contact-arrow,
  .image-dialog {
    display: none !important;
  }
  .site-header {
    position: static;
  }
  .wrap {
    width: 100%;
  }
  .section {
    padding-block: 25px;
  }
  .service-grid,
  .graphics-grid,
  .work-grid {
    break-inside: avoid;
  }
  .work-section,
  .contact-section,
  .site-footer {
    background: white;
    color: black;
  }
  a[href^='http']:after {
    content: ' (' attr(href) ')';
    font-size: 8px;
  }
  .work-hover {
    display: none;
  }
}

/* ========================================
   TIPOGRAFÍA DEL MENÚ, CONTACTO Y FOOTER
   ======================================== */

.main-nav,
.language-nav,
.menu-toggle,
.header-contact,
.contact-section,
.site-footer {
  font-family: 'Segoe UI', SegoeUI, Tahoma, Arial, sans-serif;
}
