/* TEDCO — propuesta de sitio. Identidad en transición desde ETUSA. */

:root {
  --navy: #102033;
  --navy-2: #173049;
  --ink: #1b2836;
  --paper: #f3f0ea;
  --paper-2: #e7e2d8;
  --white: #fbfaf7;
  --line: rgba(16, 32, 51, 0.12);
  --line-strong: rgba(16, 32, 51, 0.22);
  --muted: #5d6b7a;
  --gold: #c6a15b;
  --gold-deep: #8c6a34;
  --heritage: #c8102e;
  --header-h: 82px;
  --header-h-compact: 82px;
  --space: clamp(1.25rem, 2vw, 2rem);
  --max: 1180px;
  --wide: 1360px;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

p, h1, h2, h3, h4 { text-wrap: balance; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--white);
  color: var(--navy);
  padding: 0.7rem 1rem;
}

.skip:focus { top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: #e7d7b4; color: var(--navy); }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.wrap-wide {
  width: min(var(--wide), calc(100% - 2.4rem));
  margin-inline: auto;
}

[id] { scroll-margin-top: 6rem; }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  color: var(--white);
  background-color: rgba(8, 16, 28, 0.42);
  transition: background-color 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-solid,
.header-solid .site-header {
  height: var(--header-h);
  background-color: rgba(16, 32, 51, 0.98);
}

.header-inner {
  height: 100%;
  width: min(var(--wide), calc(100% - 2.4rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  margin: 0;
  line-height: 0;
  text-decoration: none;
}

.brand-pair {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  height: 38px;
  border: 1px solid rgba(214, 186, 120, 0.7);
  border-radius: 6px;
  background: rgba(8, 18, 30, 0.42);
}

.brand-etusa,
.brand-tedco {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 100%;
  padding: 3px 7px;
}

.brand-etusa { border-right: 1px solid rgba(214, 186, 120, 0.55); }

.brand-pair img {
  display: block;
  width: auto;
  height: 32px;
  max-width: none;
  max-height: 32px;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1.75rem;
  }

  .site-nav {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 100%;
  }

  .nav-list {
    width: 100%;
    height: 100%;
    justify-content: center;
    gap: clamp(0.35rem, 1.4vw, 1.35rem);
  }

  .btn-quote {
    width: 152px;
    padding-inline: 0.6rem;
  }
}

.brand-name {
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1;
}

.brand-kicker {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251, 250, 247, 0.72);
}

.site-header.is-solid .brand-kicker,
.header-solid .brand-kicker { display: none; }

.nav-list,
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list > li > a,
.sub-toggle {
  text-decoration: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.nav-list > li > a:hover,
.nav-list > li > a[aria-current="page"] { color: var(--gold); }

.has-sub { position: relative; display: flex; align-items: center; }

.sub-toggle {
  width: 1.7rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  margin-left: -0.35rem;
}

.sub-toggle svg { width: 0.7rem; height: 0.7rem; transition: transform 0.25s var(--ease); }

.has-sub.is-open .sub-toggle svg,
.has-sub:hover .sub-toggle svg,
.has-sub:focus-within .sub-toggle svg { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: calc(100% - 0.2rem);
  left: 0;
  min-width: 15.5rem;
  padding: 0.45rem;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.has-sub.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.submenu a {
  display: block;
  text-decoration: none;
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
}

.submenu a:hover,
.submenu a[aria-current="page"] { background: var(--paper); color: var(--gold-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.65rem 1.15rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-quote {
  background: var(--gold);
  color: #24180a;
  border-color: var(--gold);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.btn-quote:hover { background: #d4b56e; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.btn-call {
  position: relative;
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.btn-call svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
}

.btn-call:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

.quote-short { display: none; }


.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover { background: var(--gold); }

.btn-line {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-line:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover { background: var(--navy-2); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}

.btn-ghost:hover { border-color: var(--navy); }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.9s var(--ease);
}

.hero-slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.js .hero-slide img { transform: scale(1.04); }

.js .hero-slide.is-active img {
  animation: drift 14s var(--ease) forwards;
}

.hero-slide.is-marca img {
  position: absolute;
  width: 128%;
  height: 135%;
  max-width: none;
  left: -14%;
  top: 0;
  object-position: center 22%;
}

.js .hero-slide.is-marca img,
.js .hero-slide.is-marca.is-active img {
  transform: none;
  animation: none;
}

.hero-slide.is-marca .eyebrow {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero-slide.is-marca .hero-shade {
  background:
    linear-gradient(180deg, rgba(8, 16, 28, 0.38) 0%, rgba(8, 16, 28, 0.08) 16%, transparent 34%),
    linear-gradient(180deg, transparent 58%, rgba(8, 16, 28, 0.58) 100%);
}

.hero-marca {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 36%;
  width: min(1180px, 90vw);
  margin: 0;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22vw;
  pointer-events: none;
  color: #fff;
  font-weight: 600;
  font-size: clamp(3rem, 7.2vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0.045em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 16, 28, 0.82) 0%, rgba(8, 16, 28, 0.48) 46%, rgba(8, 16, 28, 0.12) 100%),
    linear-gradient(180deg, rgba(8, 16, 28, 0.28) 0%, transparent 24%, transparent 55%, rgba(8, 16, 28, 0.62) 100%);
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 0 6.5rem;
}

.hero-copy .wrap { max-width: 760px; margin-left: max(1.2rem, calc((100% - var(--wide)) / 2)); }

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1,
.hero-title {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  line-height: 0.96;
  max-width: 12ch;
}

.hero-lede {
  max-width: 38rem;
  margin: 1.1rem 0 0;
  font-size: 1.08rem;
  color: rgba(251, 250, 247, 0.86);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.hero-ui {
  position: absolute;
  z-index: 3;
  right: max(1.2rem, calc((100% - var(--wide)) / 2));
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-count {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: rgba(251, 250, 247, 0.8);
}

.icon-btn {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 16, 28, 0.25);
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.icon-btn:hover { background: rgba(8, 16, 28, 0.5); }

.icon-btn svg { width: 0.95rem; height: 0.95rem; }

.dots { display: flex; gap: 0.4rem; }

.dots button {
  width: 1.7rem;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.dots button[aria-current="true"] { background: var(--gold); }

/* Sections */

.section { padding: clamp(4.5rem, 8vw, 7.2rem) 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem 3rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.section-head.is-stack {
  grid-template-columns: minmax(0, 42rem);
}

.section-head.is-stack .lead { margin-top: 0.85rem; }

.kicker {
  margin: 0 0 0.7rem;
  color: var(--gold-deep);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2,
.page-intro h1,
.block-title {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.02;
}

.lead { margin: 0; color: var(--muted); font-size: 1.05rem; }

.transition-band {
  background: var(--navy);
  color: var(--white);
  padding: 1.35rem 0;
}

.transition-band .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.transition-band strong { font-weight: 500; letter-spacing: 0.04em; }

.transition-band span { color: rgba(251, 250, 247, 0.72); font-size: 0.95rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact { padding: 1.4rem 1.2rem 1.5rem 0; }

.fact + .fact { border-left: 1px solid var(--line); padding-left: 1.2rem; }

.fact b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
}

.fact span { display: block; margin-top: 0.45rem; color: var(--muted); font-size: 0.92rem; }

.service-index { display: grid; gap: 0; }

.service-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 0.9rem;
  margin-inline: -0.9rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.service-row:hover {
  background: #eadfc8;
}

.service-row:hover strong { color: var(--gold-deep); }

.service-row:last-child { border-bottom: 1px solid var(--line); }

.service-row em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
}

.service-row strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 400;
}

.service-row p { margin: 0.25rem 0 0; color: var(--muted); max-width: 46rem; }

.service-row .arrow {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.service-row:hover .arrow { background: var(--navy); color: var(--white); border-color: var(--navy); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.split.reverse { grid-template-columns: 0.95fr 1.05fr; }

.prose > * + * { margin-top: 1rem; }

.prose h2 { font-size: clamp(2rem, 4vw, 3.3rem); }

.prose p { margin: 0; }

.checklist { list-style: none; margin: 1.2rem 0 0; padding: 0; }

.checklist li {
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
}

.media {
  overflow: hidden;
  background: var(--navy);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.6s var(--ease);
}

.media.wide img { aspect-ratio: 16 / 10; }

.media:hover img { transform: scale(1.045); }

.note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.band {
  background: var(--navy);
  color: var(--white);
}

.band .lead { color: rgba(251, 250, 247, 0.75); }

.quote-block {
  max-width: 18em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.8rem;
}

.mosaic-side { display: grid; gap: 0.8rem; }

.shot { margin: 0; position: relative; background: #cfc8bc; }

.shot-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  color: inherit;
  text-align: left;
}

.shot-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.shot-open:hover img,
.shot-open:focus-visible img { transform: scale(1.045); }

.shot figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.75rem;
  margin: 0;
  padding: 0.28rem 0.5rem;
  background: rgba(16, 32, 51, 0.72);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-mosaic .shot-open img { height: 100%; }

.home-mosaic .shot:first-child .shot-open { height: 100%; min-height: 28rem; }

.home-mosaic .mosaic-side .shot-open { height: 16.4rem; }

.cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  padding-top: 0.5rem;
}

.contact-mini {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  padding-top: 1rem;
}

.contact-mini a { color: var(--navy); }

.contact-list { list-style: none; margin: 0; padding: 0; }

.contact-list li + li { margin-top: 0.7rem; }

.contact-list span { display: block; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* Page hero */

.page-hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 28, 0.25), rgba(8, 16, 28, 0.72));
}

.page-hero .wrap { position: relative; z-index: 1; padding-bottom: 3.2rem; padding-top: calc(var(--header-h) + 2rem); }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; font-size: 0.85rem; color: rgba(251, 250, 247, 0.75); }

.crumbs a { color: inherit; }

.page-hero h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 0.96; max-width: 14ch; }

.page-hero .lede { max-width: 38rem; color: rgba(251, 250, 247, 0.86); }

.paper-hero { padding: calc(var(--header-h) + 3.2rem) 0 1rem; }

.paper-hero h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 0.96; }

.two-col, .three-col {
  display: grid;
  gap: 1.5rem 2rem;
}

.two-col { grid-template-columns: 1fr 1fr; }

.three-col { grid-template-columns: repeat(3, 1fr); }

.plain-card {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.plain-card h3 { margin: 0 0 0.45rem; font-size: 1.7rem; }

.plain-card p { margin: 0; color: var(--muted); }

.plain-card a { color: var(--gold-deep); }

.directory a.dir {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.directory a.dir:last-child { border-bottom: 1px solid var(--line); }

.directory em {
  font-style: normal;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
}

.directory strong { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; }

.directory .arrow {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
}

.directory p { margin: 0.3rem 0 0; color: var(--muted); }

/* Gallery */

.gallery {
  columns: 3;
  column-gap: 0.8rem;
}

.gallery .shot {
  break-inside: avoid;
  margin: 0 0 0.8rem;
}

.gallery .shot-open img { height: auto; }

.gallery .shot.tall .shot-open img { aspect-ratio: 3 / 4; }

.gallery .shot.wide .shot-open img { aspect-ratio: 16 / 10; }

.gallery .shot.std .shot-open img { aspect-ratio: 4 / 3; }

/* Lightbox */

.lightbox {
  width: min(1080px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  overflow: visible;
}

.lightbox::backdrop { background: rgba(8, 14, 22, 0.9); }

.lightbox figure { margin: 0; }

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 7rem);
  object-fit: contain;
  background: #0c1622;
}

.lightbox figcaption { margin-top: 0.7rem; font-size: 0.92rem; color: rgba(251, 250, 247, 0.82); }

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 16, 28, 0.55);
  color: white;
  min-width: 2.75rem;
  min-height: 2.75rem;
  cursor: pointer;
}

.lb-close { top: -0.2rem; right: 0; }

.lb-prev { left: 0; top: 42%; }

.lb-next { right: 0; top: 42%; }

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.form {
  display: grid;
  gap: 0.95rem;
  padding: 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.field { display: grid; gap: 0.35rem; }

.field span { font-size: 0.82rem; letter-spacing: 0.04em; }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 0.75rem 0.8rem;
  border-radius: 0;
}

.field textarea { min-height: 9rem; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }

.field .error { color: #8d1d2c; font-size: 0.85rem; min-height: 1.1em; }

.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; }

.form-status {
  padding: 0.9rem 1rem;
  background: #f6efe3;
  border: 1px solid var(--gold);
}

.form-status[hidden] { display: none; }

.map-frame {
  margin-top: 2rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
  min-height: 320px;
}

.map-frame iframe { width: 100%; height: 380px; border: 0; }

/* Footer */

.site-footer {
  position: relative;
  background: var(--navy);
  color: rgba(251, 250, 247, 0.82);
  padding: 4.2rem 0 1.4rem;
  overflow: hidden;
}

.contour {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(46vw, 520px);
  height: 220px;
  opacity: 0.18;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 2rem;
}

.site-footer a { color: inherit; text-decoration: none; }

.site-footer a:hover { color: var(--gold); }

.footer-brand .brand-name { letter-spacing: 0.2em; }

.footer-brand p { max-width: 28rem; }

.site-footer h2 {
  margin: 0 0 0.8rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li + li { margin-top: 0.4rem; }

.footer-base {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.heritage {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: var(--heritage);
  letter-spacing: 0.16em;
  font-weight: 500;
  font-size: 0.95rem;
}

.heritage svg { width: 1.15rem; height: 1.15rem; }

.footer-heritage { margin-top: 1rem; color: rgba(251, 250, 247, 0.78); }

.footer-heritage .heritage { color: var(--white); }

.to-top { text-decoration: none; border-bottom: 1px solid transparent; }

.to-top:hover { border-bottom-color: var(--gold); }

/* 404 */

.empty-page {
  min-height: 70vh;
  display: grid;
  align-items: end;
  padding-bottom: 4rem;
}

.empty-page h1 { font-size: clamp(4rem, 12vw, 9rem); line-height: 0.85; margin: 0; }

.legal { max-width: 68ch; }

.legal h2 { font-size: 1.8rem; margin: 2rem 0 0.5rem; }

.legal p, .legal li { color: var(--ink); }

.pending {
  padding: 0.8rem 1rem;
  background: #f6efe3;
  border-left: 3px solid var(--gold-deep);
}

/* Reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

@keyframes drift {
  from { transform: scale(1.04); }
  to { transform: scale(1.08); }
}

@media (max-width: 1023px) {
  .brand-pair { height: 34px; }
  .brand-etusa,
  .brand-tedco { padding: 3px 6px; }
  .brand-pair img { height: 26px; max-height: 26px; }
  .nav-toggle {
    display: flex;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    min-width: 2.75rem;
    margin-left: auto;
  }
  .brand,
  .header-actions,
  .btn-call,
  .btn-quote { flex-shrink: 0; }
  .btn-call { width: 2.75rem; min-width: 2.75rem; min-height: 2.75rem; padding: 0; }
  .btn-call span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .quote-long { display: none; }
  .quote-short { display: inline; }
  .site-nav {
    position: fixed;
    z-index: 50;
    inset: var(--header-h) 0 0 0;
    background: var(--navy);
    padding: 0.5rem 1.2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow: auto;
  }
  .header-solid .site-header,
  .site-header.is-solid,
  .nav-open .site-header { height: var(--header-h-compact); }
  .nav-open .site-nav { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { font-size: 1.45rem; font-family: var(--serif); min-height: 3.1rem; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .submenu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    color: var(--white);
    border: 0;
    padding: 0 0 0.6rem 0.7rem;
    min-width: 0;
    width: 100%;
  }
  .has-sub.is-open .submenu { display: block; }
  .has-sub:hover .submenu { display: none; }
  .has-sub.is-open:hover .submenu { display: block; }
  .submenu a { padding: 0.55rem 0.4rem; }
  .submenu a:hover { background: transparent; color: var(--gold); }
  .section-head,
  .split,
  .split.reverse,
  .facts,
  .contact-mini,
  .contact-grid,
  .two-col,
  .footer-grid,
  .cta-panel { grid-template-columns: 1fr; }
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .fact + .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .three-col { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
  .home-mosaic .shot:first-child .shot-open,
  .home-mosaic .mosaic-side .shot-open { height: auto; min-height: 0; }
  .home-mosaic .shot-open img { aspect-ratio: 4 / 3; height: auto; }
}

@media (max-width: 680px) {
  .wrap, .wrap-wide, .header-inner { width: calc(100% - 1.4rem); }
  .brand-pair { height: 32px; }
  .brand-etusa,
  .brand-tedco { padding: 3px 5px; }
  .brand-pair img { height: 22px; max-height: 22px; }
  .hero-copy { padding-bottom: 7.2rem; }
  .hero h1, .hero-title { font-size: 2.45rem; }
  .hero-marca {
    top: 27%;
    width: 96vw;
    gap: 34vw;
    font-size: 1.45rem;
    letter-spacing: 0.02em;
  }
  .hero-slide.is-marca img {
    width: 100%;
    height: 175%;
    left: 0;
    top: 6%;
    object-position: center 28%;
  }
  .hero-ui { left: 0.7rem; right: 0.7rem; justify-content: space-between; }
  .three-col, .mosaic, .gallery { grid-template-columns: 1fr; columns: 1; }
  .service-row, .directory a.dir { grid-template-columns: 2.4rem 1fr; }
  .service-row .arrow, .directory .arrow { display: none; }
  .brand-kicker { display: none; }
  .lb-prev, .lb-next { top: auto; bottom: 3.2rem; }
  .page-hero { min-height: 78vh; }
}

@media (max-width: 767px) {
  .hero-marca { display: none; }

  .hero-slide img,
  .hero-slide.is-marca img {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: none;
    left: 0;
    top: 0;
    object-fit: cover;
    object-position: center 42%;
  }

  .hero-shade,
  .hero-slide.is-marca .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 16, 28, 0.5) 0%, rgba(8, 16, 28, 0.18) 24%, rgba(8, 16, 28, 0.34) 58%, rgba(8, 16, 28, 0.78) 100%);
  }

  .hero-slide.is-marca .eyebrow {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 0.4rem;
    overflow: visible;
    clip: auto;
  }

  .hero-copy { padding: 0 0 4.15rem; }

  .hero-copy .wrap {
    width: calc(100% - 1.7rem);
    max-width: none;
    margin-left: 0.85rem;
    margin-right: 0.85rem;
  }

  .hero .eyebrow {
    margin-bottom: 0.4rem;
    font-size: 0.68rem;
  }

  .hero h1,
  .hero-title {
    font-size: clamp(1.8rem, 7.6vw, 2.25rem);
    line-height: 1.08;
    max-width: 18ch;
  }

  .hero-lede {
    max-width: 34ch;
    margin: 0.5rem 0 0;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 0.8rem;
  }

  .hero .btn {
    min-height: 2.7rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.88rem;
    width: auto;
    max-width: 100%;
  }

  .hero-ui {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.65rem;
    gap: 0.4rem;
    justify-content: flex-start;
  }

  .hero-count {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .hero .icon-btn {
    width: 2.4rem;
    height: 2.4rem;
  }

  .hero .dots { gap: 0.2rem; }

  .hero .dots button {
    width: 0.85rem;
    height: 2px;
    position: relative;
  }

  .hero .dots button::after {
    content: "";
    position: absolute;
    inset: -0.7rem -0.12rem;
  }

  .header-inner { gap: 0.4rem; }
  .header-actions { gap: 0.35rem; }
}

@media (max-width: 360px) {
  .header-inner {
    width: calc(100% - 0.8rem);
    gap: 0.3rem;
  }
  .header-actions { gap: 0.3rem; }
  .brand-pair { height: 28px; }
  .brand-etusa,
  .brand-tedco { padding: 2px 3px; }
  .brand-pair img { height: 18px; max-height: 18px; }
  .btn-quote { padding: 0.4rem 0.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero-slide img { transform: none; }
}
