/* K-ARTAGENA V15 — white-space-led editorial refinement */
:root {
  --bg: #fff;
  --soft: #fff;
  --soft-blue: #fff;
  --ink: #111820;
  --muted: #626b74;
  --line: #d9dee3;
  --blue: #0e5ca8;
  --blue-dark: #0a4179;
  --max: 1360px;
  --pad: clamp(20px, 4.4vw, 76px);
}

html { background: #fff; max-width: 100%; overflow-x: clip; }
body {
  background: #fff;
  color: var(--ink);
  letter-spacing: .005em;
  max-width: 100%;
  overflow-x: clip;
}
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* A quieter, more deliberate frame */
.site-header {
  height: 78px;
  background: rgba(255,255,255,.96);
  border-bottom-color: rgba(17,24,32,.12);
}
.site-header.is-scrolled { box-shadow: 0 12px 40px rgba(20,36,52,.055); }
.header-inner { max-width: 1760px; }
.brand { width: 218px; }
.desktop-nav { gap: clamp(16px, 1.6vw, 28px); font-size: 12px; }
.desktop-nav > a:last-child {
  height: 38px;
  padding: 0 17px;
  background: var(--ink);
  color: #fff;
  transition: background .3s ease, transform .4s var(--ease-out-expo);
}
.desktop-nav > a:last-child::after { display: none; }
.desktop-nav > a:last-child:hover { background: var(--blue); transform: translateY(-1px); }
.nav-dropdown__panel { top: 77px; }
main { padding-top: 78px; }

.section,
.section--soft,
.section--blue-soft,
.site-cta {
  background: #fff;
}
.section { padding: clamp(96px, 10vw, 156px) 0; }
.section-head { grid-template-columns: 165px minmax(0,1fr); gap: clamp(30px,5vw,82px); }
.section-kicker,
.eyebrow {
  font-weight: 500;
  letter-spacing: .19em;
}
.section-head h2 { max-width: 940px; font-size: clamp(29px,3vw,44px); line-height: 1.42; }
.section-head p { max-width: 720px; }

/* Homepage hero */
.home-hero.home-hero--v11 {
  min-height: calc(100svh - 78px);
  max-width: 1760px;
  grid-template-columns: minmax(350px,.72fr) minmax(0,1.28fr);
  gap: clamp(42px,6vw,104px);
  padding-top: clamp(44px,6vh,80px);
  padding-bottom: clamp(52px,7vh,92px);
}
.hero-copy h1 {
  max-width: 720px;
  margin-top: 25px;
  font-size: clamp(38px,4.15vw,64px);
  line-height: 1.22;
  letter-spacing: -.045em;
}
.hero-copy > p { max-width: 600px; line-height: 2.05; }
.hero-actions { gap: 12px; }
.button-primary,
.button-secondary {
  min-width: 182px;
  padding: 17px 18px;
  transition: color .3s ease, background .3s ease, border-color .3s ease, transform .45s var(--ease-out-expo);
}
.button-primary:hover,
.button-secondary:hover { transform: translateY(-2px); }
.home-hero--v11 .hero-image {
  height: min(72vh, 760px);
  min-height: 620px;
  box-shadow: none;
  background: #edf0f2;
}
.home-hero--v11 .hero-image::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 18px;
  border-top: 1px solid rgba(255,255,255,.62);
  border-right: 1px solid rgba(255,255,255,.62);
  pointer-events: none;
}
.home-hero--v11 .hero-image img { filter: saturate(.78) contrast(1.04); object-position: 53% center; }
.hero-image__tag,
.seo-split__media figcaption,
.seo-gallery figcaption,
.service-proof figcaption,
.delivery-visuals figcaption,
.network-gallery figcaption,
.delivery-gallery figcaption,
.product-reference-band figcaption {
  border: 1px solid rgba(17,24,32,.1);
  color: #1e2831;
  letter-spacing: .16em;
  backdrop-filter: blur(12px);
}

/* Compact proof immediately after the first viewport */
.v15-trust-rail {
  width: min(1760px, calc(100% - var(--pad)*2));
  margin: 0 auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.v15-trust-rail > div {
  min-height: 118px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.v15-trust-rail > div:last-child { border-right: 0; }
.v15-trust-rail span { color: var(--blue); font: 9px/1.2 Inter,Arial,sans-serif; letter-spacing: .17em; }
.v15-trust-rail strong { font-size: 14px; font-weight: 500; line-height: 1.55; }

/* A single art-directed photographic statement */
.v15-design-statement {
  position: relative;
  margin: 0 var(--pad);
  height: min(72vw, 850px);
  min-height: 600px;
  overflow: hidden;
  background: #e9edef;
}
.v15-design-statement img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(.78) contrast(1.03);
  transition: transform 1.4s var(--ease-out-expo);
}
.v15-design-statement:hover img { transform: scale(1.018); }
.v15-design-statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,15,21,.62), rgba(8,15,21,.04) 58%);
  pointer-events: none;
}
.v15-design-statement__copy {
  position: absolute;
  z-index: 2;
  left: clamp(24px,5vw,82px);
  bottom: clamp(26px,5vw,76px);
  width: min(560px, calc(100% - 48px));
  color: #fff;
}
.v15-design-statement__copy small { display: block; margin-bottom: 22px; font: 9px/1.4 Inter,Arial,sans-serif; letter-spacing: .19em; }
.v15-design-statement__copy h2 { margin: 0 0 20px; font-size: clamp(30px,4vw,58px); line-height: 1.25; font-weight: 500; letter-spacing: -.04em; }
.v15-design-statement__copy p { max-width: 500px; margin: 0; font-size: 13px; line-height: 1.95; color: rgba(255,255,255,.82); }

/* Image systems: purposeful, editorial, and less card-like */
.product-reference-band--five {
  grid-template-columns: 1.15fr .82fr 1fr .82fr 1.15fr;
  grid-auto-rows: auto;
  align-items: start;
  gap: 8px;
}
.product-reference-band--five figure { height: clamp(440px,36vw,590px); transform: none; }
.product-reference-band--five figure:nth-child(2),
.product-reference-band--five figure:nth-child(4) { height: clamp(370px,31vw,500px); margin-top: 54px; transform: none; }
.product-reference-band--five img,
.seo-gallery img,
.service-proof img { filter: saturate(.82) contrast(1.025); }
.product-reference-band--five figure:hover img,
.seo-gallery figure:hover img,
.service-proof figure:hover img { filter: saturate(.96) contrast(1.02); }

.seo-split { gap: clamp(56px,8vw,124px); }
.seo-split__media { gap: 8px; }
.seo-split__media figure { box-shadow: none; }
.service-proof { gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.service-proof article {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px;
}
.service-proof figure { margin: 16px -32px -32px; }
.service-proof h3 { letter-spacing: -.02em; }
.seo-gallery { gap: 8px; }
.seo-gallery figure:nth-child(even) { margin-top: 46px; margin-bottom: -46px; }
.destination-preview > div { background: #fff; }

/* Internal pages */
.page-hero--visual { max-width: 1760px; grid-template-columns: minmax(320px,.68fr) minmax(0,1.32fr); min-height: 700px; }
.page-hero--visual .page-hero__image { height: min(69vh,700px); min-height: 560px; }
.page-hero--visual .page-hero__image img { filter: saturate(.82) contrast(1.025); }
.page-hero--visual > *,
.contact-layout > *,
.contact-form > *,
.seo-split > * { min-width: 0; }
.page-hero__meta,
.footer-address,
.contact-direct strong,
.profile-table strong { overflow-wrap: anywhere; }
.contact-form label { min-width: 0; }
.contact-form input,
.contact-form select,
.contact-form textarea { width: 100%; min-width: 0; max-width: 100%; }
.breadcrumb { max-width: 1760px; }
.contact-form { background: #f7f8f8; }
.site-cta { border-top: 1px solid var(--ink); }
.site-cta::before { border-color: rgba(14,92,168,.16); }

@media (max-width: 1150px) {
  .home-hero.home-hero--v11 { grid-template-columns: .82fr 1.18fr; }
  .product-reference-band--five { grid-template-columns: repeat(3,1fr); }
  .product-reference-band--five figure,
  .product-reference-band--five figure:nth-child(2),
  .product-reference-band--five figure:nth-child(4) { height: 440px; margin-top: 0; }
}

@media (max-width: 900px) {
  .site-header { height: 74px; }
  main { padding-top: 74px; }
  .header-inner {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }
  .menu-toggle { width: 46px; height: 46px; flex: 0 0 46px; }
  .mobile-menu {
    padding-left: max(var(--pad), env(safe-area-inset-left));
    padding-right: max(var(--pad), env(safe-area-inset-right));
    padding-bottom: max(60px, env(safe-area-inset-bottom));
  }
  .mobile-menu__sub a { min-height: 44px; align-items: center; }
  .mobile-lang button { min-width: 44px; min-height: 44px; }
  .home-hero.home-hero--v11 { display: flex; min-height: 0; padding-top: 54px; }
  .hero-copy h1 { font-size: clamp(38px,8vw,58px); }
  .home-hero--v11 .hero-image { width: 100%; height: 68vw; min-height: 470px; }
  .v15-trust-rail { grid-template-columns: repeat(2,1fr); }
  .v15-trust-rail > div:nth-child(2) { border-right: 0; }
  .v15-trust-rail > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .v15-design-statement { height: 78vw; min-height: 560px; }
  .page-hero--visual {
    grid-template-columns: minmax(0,1fr);
    min-height: 0;
    gap: 32px;
    padding: 42px var(--pad) 72px;
  }
  .page-hero--visual .page-hero__copy,
  .page-hero--visual .page-hero__image { width: 100%; min-width: 0; }
  .page-hero--visual .page-hero__image { height: 68vw; min-height: 420px; margin-top: 0; }
  .hero-image__tag { max-width: calc(100% - 36px); overflow-wrap: anywhere; }
  .contact-layout { grid-template-columns: minmax(0,1fr); gap: 52px; }
  .contact-form { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 620px) {
  .section { padding: 82px 0; }
  .section-head { grid-template-columns: 1fr; gap: 22px; }
  .home-hero.home-hero--v11 { padding-top: 42px; padding-bottom: 46px; gap: 34px; }
  .hero-copy h1 { margin-top: 18px; font-size: clamp(34px,10vw,46px); }
  .hero-copy > p { font-size: 13px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button-primary, .button-secondary { width: 100%; }
  .home-hero--v11 .hero-image { height: 92vw; min-height: 390px; }
  .page-hero--visual { padding-top: 34px; padding-bottom: 58px; gap: 26px; }
  .page-hero--visual h1 { font-size: clamp(30px,9.5vw,42px); }
  .page-hero--visual p { font-size: 13px; line-height: 1.9; }
  .page-hero--visual .page-hero__image { height: 92vw; min-height: 310px; max-height: 470px; }
  .page-hero__meta { line-height: 1.7; }
  .hero-image__tag { right: 12px; bottom: 12px; max-width: calc(100% - 24px); font-size: 8px; }
  .v15-trust-rail { width: calc(100% - 40px); grid-template-columns: 1fr; }
  .v15-trust-rail > div { min-height: 94px; padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .v15-trust-rail > div:last-child { border-bottom: 0; }
  .v15-design-statement { margin: 0; height: 128vw; min-height: 560px; }
  .v15-design-statement::after { background: linear-gradient(180deg, rgba(8,15,21,.02) 32%, rgba(8,15,21,.72)); }
  .v15-design-statement__copy { left: 20px; bottom: 28px; width: calc(100% - 40px); }
  .v15-design-statement__copy h2 { font-size: 34px; }
  .product-reference-band--five { display: flex; }
  .product-reference-band--five figure,
  .product-reference-band--five figure:nth-child(2),
  .product-reference-band--five figure:nth-child(4) { min-width: 84vw; height: 112vw; max-height: 560px; }
  .service-proof article { padding: 24px; }
  .service-proof figure { margin: 14px -24px -24px; }
  .seo-gallery figure:nth-child(even) { margin-top: 0; margin-bottom: 0; }
  .seo-gallery--wide,
  .seo-gallery--process,
  .photo-film__track,
  .product-reference-band { -webkit-overflow-scrolling: touch; overscroll-behavior-inline: contain; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; }
  .form-submit { width: 100%; min-height: 50px; }
  .footer-logo { max-width: 100%; height: auto; }
}

@media (max-width: 360px) {
  .brand { width: 170px; }
  .hero-copy h1 { font-size: 33px; }
  .home-hero--v11 .hero-image { min-height: 340px; }
  .section-head h2 { font-size: 27px; }
  .page-hero--visual .page-hero__image { min-height: 290px; }
}

@media (prefers-reduced-motion: reduce) {
  .v15-design-statement img,
  .desktop-nav > a:last-child { transition: none; }
}
