/* ─────────────────────────────────────────────────────────────────────────────
   Transporteca — Main Stylesheet
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Font (served from our own server, so visitors' IPs aren't sent to Google) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ── Custom properties ────────────────────────────────────────────────────── */
:root {
  --color-navy:        #1C2436;
  --color-navy-dark:   #131a28;
  --color-accent:      #E8472A;
  --color-accent-dark: #C93B22;
  --color-warm:        #FAFAF8;
  --color-light:       #F3F3F3;
  --color-white:       #FFFFFF;
  --color-text:        #2D2D2D;
  --color-text-muted:  #4A5568;
  --color-border:      #E2E8F0;
  --color-success:     #276749;
  --color-success-bg:  #F0FFF4;
  --color-error:       #9B2C2C;
  --color-error-bg:    #FFF5F5;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12), 0 4px 10px rgba(0,0,0,.07);

  --header-h:  68px;
  --container: 1200px;
  --section-v: 80px;
}

/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-light);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── Typography ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-navy);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--color-text-muted); }
p + p { margin-top: .75rem; }

.eyebrow {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .5rem;
}

/* ── Layout helpers ───────────────────────────────────────────────────────── */
.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-v);
}

.bg-light { background: var(--color-light); }

.section-header {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header h2 { margin-bottom: .75rem; }
.section-header p { font-size: 1.05rem; }

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .95rem;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .12s;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn-secondary:hover {
  background: var(--color-navy-dark);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.55);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--color-white);
}

.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo { text-decoration: none !important; display: flex; align-items: center; }

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-brand .logo img {
  height: 32px;
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -.02em;
}

.logo-text--light { color: rgba(255,255,255,.9); }

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav ul a {
  font-weight: 500;
  color: var(--color-text);
  font-size: .95rem;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}

.main-nav ul a:hover,
.main-nav ul a.active {
  color: var(--color-navy);
  border-color: var(--color-accent);
  text-decoration: none;
}

.nav-cta { margin-left: 1rem; }

/* Language switcher */
.lang-switch {
  position: relative;
  margin-left: 1rem;
}
.lang-switch summary {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: .85rem;
  color: var(--color-navy);
  padding: .45rem .6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover,
.lang-switch[open] summary { border-color: var(--color-navy); }
.main-nav .lang-switch ul {
  position: absolute;
  right: 0;
  top: calc(100% + .4rem);
  z-index: 300;
  display: block;
  min-width: 11rem;
  padding: .4rem 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.main-nav .lang-switch ul a {
  display: block;
  padding: .45rem 1rem;
  border-bottom: none;
  font-size: .9rem;
}
.main-nav .lang-switch ul a:hover { background: var(--color-light); }
.main-nav .lang-switch ul a.active { color: var(--color-accent); font-weight: 600; }

/* Marks a guide that is not yet translated */
.post-lang-note {
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: .1rem .55rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: var(--color-navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #001540 0%, #00205B 45%, #003B8E 100%);
}

/* Subtle geometric overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 50%, rgba(255,255,255,.04) 0%, transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,.2) 100%);
}

.hero-bg img.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 5rem;
  color: var(--color-white);
  max-width: 720px;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.hero-content .eyebrow {
  color: var(--color-accent);
  margin-bottom: .75rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Trust bar ────────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--color-navy-dark);
  padding: 1.4rem 0;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-item strong {
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-white);
}

.trust-item span {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}

/* ── Services grid ────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow .2s, transform .2s;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg { width: 28px; height: 28px; }

.service-icon--sea     { background: var(--color-navy); color: var(--color-white); }
.service-icon--air     { background: var(--color-accent); color: var(--color-white); }
.service-icon--customs { background: var(--color-navy); color: var(--color-white); }
.service-icon--door    { background: var(--color-accent); color: var(--color-white); }

.service-card h3 { margin-bottom: .5rem; }
.service-card p  { font-size: .95rem; margin-bottom: 1.25rem; }

.card-link {
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-accent);
  text-decoration: none;
  transition: color .15s;
}
.card-link:hover { color: var(--color-accent-dark); text-decoration: none; }

/* ── Why us ───────────────────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.why-item { display: flex; flex-direction: column; gap: .75rem; }

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(232,71,42,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.why-icon svg { width: 22px; height: 22px; }

.why-item h3 { margin-bottom: .1rem; }

/* ── Cargo types ──────────────────────────────────────────────────────────── */
.cargo-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
}

.cargo-list li {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: .75rem 1rem .75rem 1.25rem;
  font-size: .9rem;
  font-weight: 500;
  position: relative;
}

.cargo-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-accent);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

/* ── CTA banner ───────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, #003B8E 100%);
  padding: 4rem 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cta-banner-text h2 { color: var(--color-white); margin-bottom: .75rem; }
.cta-banner-text p  { color: rgba(255,255,255,.75); max-width: 560px; }

.cta-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── Page hero (inner pages) ──────────────────────────────────────────────── */
.page-hero {
  background: var(--color-navy);
  padding: 3.5rem 0 3rem;
  color: var(--color-white);
}

.page-hero h1 { color: var(--color-white); margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 600px; }

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.breadcrumb { margin-bottom: 1rem; }

.breadcrumb ol {
  display: flex;
  gap: .5rem;
  list-style: none;
  font-size: .85rem;
}

.breadcrumb li { color: rgba(255,255,255,.6); }
.breadcrumb li + li::before { content: '/'; margin-right: .5rem; }
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-white); }

/* ── Service details ──────────────────────────────────────────────────────── */
.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.service-detail-inner--reverse { direction: rtl; }
.service-detail-inner--reverse > * { direction: ltr; }

.service-mode-badge {
  display: inline-block;
  padding: .3rem .9rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge--air  { background: #EBF8FF; color: #0369A1; }
.badge--sea  { background: #E0F2FE; color: #0C4A6E; }
.badge--road { background: #F0FDF4; color: #166534; }
.badge--rail { background: #FFF7ED; color: #9A3412; }

.service-detail-text h2 { margin-bottom: 1rem; }
.service-detail-text h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 .75rem;
  color: var(--color-navy);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 2rem;
}

.feature-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: .95rem;
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.service-detail-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-navy);
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}

/* Placeholder gradient backgrounds until real photos are added */
.service-visual--air  { background: linear-gradient(135deg, #0369A1 0%, #075985 100%); }
.service-visual--sea  { background: linear-gradient(135deg, #0C4A6E 0%, #082F49 100%); }
.service-visual--road { background: linear-gradient(135deg, #166534 0%, #14532D 100%); }
.service-visual--rail { background: linear-gradient(135deg, #9A3412 0%, #7C2D12 100%); }

.service-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Included services (services page) ───────────────────────────────────── */
.included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.included-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

.included-card:nth-child(even) {
  direction: rtl;
}
.included-card:nth-child(even) > * {
  direction: ltr;
}

.included-card-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-navy);
}

.included-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.included-card-body h3 {
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.included-card-body p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .included-card {
    grid-template-columns: 1fr;
  }
  .included-card:nth-child(even) {
    direction: ltr;
  }
}

/* ── Special cargo ────────────────────────────────────────────────────────── */
.special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.special-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.special-item h3 { margin-bottom: .5rem; font-size: 1.05rem; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: .95rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

/* ── Contact page ─────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2rem; }

.contact-channel {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--color-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.contact-channel-icon {
  width: 40px;
  height: 40px;
  background: rgba(232,71,42,.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.contact-channel-icon svg { width: 20px; height: 20px; }

.contact-channel h3 { font-size: .95rem; margin-bottom: .25rem; }
.contact-channel p  { font-size: .88rem; margin-bottom: .4rem; }

.contact-link {
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}
.contact-link:hover { color: var(--color-navy); text-decoration: underline; }

.contact-response-time {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(232,71,42,.06);
  border-radius: var(--radius-md);
  color: var(--color-accent);
}
.contact-response-time svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-response-time p   { font-size: .88rem; color: var(--color-accent); }

/* ── Contact form ─────────────────────────────────────────────────────────── */
.contact-form-wrap h2 { margin-bottom: 1.75rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group label span { color: var(--color-accent); }

.form-group input,
.form-group textarea {
  font: inherit;
  font-size: .95rem;
  padding: .7rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0,87,194,.12);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-hint {
  font-size: .82rem;
  color: var(--color-text-muted);
  margin-top: .25rem;
}

.form-privacy {
  font-size: .82rem;
  color: var(--color-text-muted);
  margin-top: .5rem;
}

/* ── Alerts ───────────────────────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.alert svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

.alert-success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid #9AE6B4;
}
.alert-success strong { display: block; margin-bottom: .3rem; }
.alert-success p { color: var(--color-success); font-size: .92rem; }
.alert-success a { color: var(--color-success); font-weight: 600; }

.alert-error {
  background: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid #FEB2B2;
}
.alert-error p { color: var(--color-error); font-size: .92rem; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-navy-dark);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  margin-top: .75rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background .15s, color .15s;
}
.social-links a:hover {
  background: var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: .5rem;
}

.footer-links a,
.footer-services a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover,
.footer-services a:hover { color: var(--color-white); text-decoration: none; }

.contact-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}
.contact-list svg { flex-shrink: 0; opacity: .7; }
.contact-list a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}
.contact-list a:hover { color: var(--color-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
}

.footer-bottom p {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  text-align: center;
}

.footer-bottom a, .footer-bottom .link-button { color: inherit; }
.footer-bottom a:hover, .footer-bottom .link-button:hover { color: var(--color-white); }
.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* ── Cookie banner ────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.12);
  padding: 1rem 0;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.cookie-banner p {
  flex: 1;
  margin: 0;
  font-size: .92rem;
  color: #374151;
}
.cookie-banner p a { color: var(--color-accent); }
.cookie-banner-actions { display: flex; gap: .75rem; flex-shrink: 0; }
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}

/* ── Privacy page ─────────────────────────────────────────────────────────── */
.privacy-content { max-width: 760px; }
.privacy-updated { font-size: .9rem; color: var(--color-text-muted); }

/* ── 404 page ─────────────────────────────────────────────────────────────── */
.error-page {
  padding: 8rem 0;
  text-align: center;
}

.error-code {
  font-size: 8rem;
  font-weight: 800;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page h1 { margin-bottom: 1rem; }
.error-page p  { margin-bottom: 2rem; }

.error-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Animations ───────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp .5s ease forwards;
}

/* ── WhatsApp button ──────────────────────────────────────────────────────── */
.btn-whatsapp {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-whatsapp:hover {
  background: var(--color-accent-dark);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

/* Floating contact button */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: .75rem 1.25rem;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none !important;
  transition: transform .2s, box-shadow .2s, background .15s;
}
.whatsapp-float:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,71,42,.4);
  text-decoration: none !important;
}

/* ── Who we help ─────────────────────────────────────────────────────────── */
.bg-warm { background: var(--color-warm); }

.who-we-help { padding-block: var(--section-v); }

.who-we-help-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.who-text h2 { margin-bottom: 1rem; }
.who-text p  { margin-bottom: 1rem; }
.who-text p strong { color: var(--color-navy); }
.who-text .btn { margin-top: .5rem; }

.who-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.who-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow .2s;
}
.who-card:hover { box-shadow: var(--shadow-md); }

.who-card-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
}

.who-card h3 { font-size: 1rem; margin-bottom: .35rem; }
.who-card p  { font-size: .9rem; margin: 0; }

/* ── How it works ────────────────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.step p  { font-size: .9rem; }

.step-divider {
  width: 60px;
  height: 2px;
  background: var(--color-border);
  margin-top: 24px;
  flex-shrink: 0;
}

/* ── Origins grid ────────────────────────────────────────────────────────── */
.origins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.origin-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.origin-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.origin-flag { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.origin-item h3 { font-size: 1rem; margin-bottom: .35rem; }
.origin-item p  { font-size: .85rem; }

/* ── Contact channels ────────────────────────────────────────────────────── */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.channels-grid--contact {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.channel-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  text-decoration: none !important;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  color: var(--color-text);
}
.channel-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  text-decoration: none !important;
}
.channels-grid--contact .channel-card {
  flex-direction: row;
  align-items: flex-start;
}
.channels-grid--contact .channel-icon { flex-shrink: 0; }

.channel-card h3 { font-size: 1rem; margin: 0; }
.channel-card p  { font-size: .88rem; margin: 0; color: var(--color-text-muted); flex: 1; }

.channel-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-card--whatsapp  { border-color: rgba(232,71,42,.25); }
.channel-card--whatsapp .channel-icon { background: rgba(232,71,42,.08); color: var(--color-accent); }
.channel-card--whatsapp:hover { border-color: var(--color-accent); }

.channel-card--email  { border-color: rgba(28,36,54,.15); }
.channel-card--email .channel-icon { background: rgba(28,36,54,.06); color: var(--color-navy); }
.channel-card--email:hover { border-color: var(--color-navy); }

.channel-card--messenger  { border-color: rgba(28,36,54,.15); }
.channel-card--messenger .channel-icon { background: rgba(28,36,54,.06); color: var(--color-navy); }
.channel-card--messenger:hover { border-color: var(--color-navy); }

.channel-card--instagram  { border-color: rgba(232,71,42,.25); }
.channel-card--instagram .channel-icon { background: rgba(232,71,42,.08); color: var(--color-accent); }
.channel-card--instagram:hover { border-color: var(--color-accent); }

.channel-card--chat .channel-icon { background: var(--color-light); color: var(--color-text-muted); }

.channel-card--coming {
  opacity: .7;
  cursor: default;
  pointer-events: none;
}
.channel-card--featured {
  border-width: 2px;
  border-color: var(--color-accent);
}

.channel-cta {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-top: auto;
}
.coming-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-border);
  padding: .2rem .6rem;
  border-radius: 100px;
}

.badge-recommended {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  background: var(--color-accent);
  color: white;
  padding: .1rem .5rem;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: .4rem;
}

/* ── Blog posts grid ──────────────────────────────────────────────────────── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.posts-grid--large {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.post-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Photo cards */
.post-card--photo {
  background: var(--color-white);
}

/* Icon cards */
.post-card--icon .post-card-img-link { display: block; }
.post-card--navy .post-card-icon { background: var(--color-navy); }
.post-card--accent .post-card-icon { background: var(--color-accent); }

.post-card-icon {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card-icon svg {
  width: 80px;
  height: 80px;
}

.post-card-img-link { display: block; }

.post-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-navy);
}

.post-card-body {
  padding: 1.5rem;
  background: var(--color-white);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}

.post-category {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-accent);
  background: rgba(232,71,42,.08);
  padding: .2rem .6rem;
  border-radius: 100px;
}

.post-date {
  font-size: .82rem;
  color: var(--color-text-muted);
}

.post-card-body h2, .post-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
}
.post-card-body h2 a, .post-card-body h3 a {
  color: var(--color-navy);
  text-decoration: none;
}
.post-card-body h2 a:hover, .post-card-body h3 a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.post-card-body p {
  font-size: .9rem;
  margin-bottom: 1rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: .78rem;
  background: var(--color-light);
  color: var(--color-text-muted);
  padding: .2rem .6rem;
  border-radius: 100px;
  border: 1px solid var(--color-border);
}

/* ── Blog article ─────────────────────────────────────────────────────────── */
.article-hero {
  height: 420px;
  overflow: hidden;
  background: var(--color-navy);
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .8;
}
.article-hero--icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-hero--navy { background: var(--color-navy); }
.article-hero--accent { background: var(--color-accent); }
.article-hero-icon svg {
  width: 120px;
  height: 120px;
}

.article-header {
  padding: 2.5rem 0 0;
}
.article-header-inner { max-width: 800px; }
.article-header h1 { margin: .75rem 0; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.article-excerpt { font-size: 1.1rem; margin-bottom: 1rem; }

.article-body { padding: 2.5rem 0 4rem; }

.article-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

.article-content { min-width: 0; }

/* Article body typography */
.article-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 .75rem;
  padding-top: .5rem;
  border-top: 2px solid var(--color-light);
}
.article-content h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.article-content p  { margin-bottom: 1rem; font-size: 1rem; line-height: 1.75; color: #374151; }
.article-content ul, .article-content ol {
  margin: 0 0 1.25rem 1.25rem;
}
.article-content li {
  margin-bottom: .4rem;
  font-size: 1rem;
  color: #374151;
  line-height: 1.65;
}
.article-content strong { color: var(--color-navy); }

.article-cta {
  background: rgba(232,71,42,.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 3rem;
  border-left: 4px solid var(--color-accent);
}
.article-cta h3 { margin-bottom: .5rem; }
.article-cta p  { margin-bottom: 1.25rem; }
.article-cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.article-sidebar { position: sticky; top: calc(var(--header-h) + 1rem); }

.sidebar-widget {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h3 { font-size: 1rem; margin-bottom: .75rem; }
.sidebar-widget p  { font-size: .88rem; margin-bottom: 1rem; }

.sidebar-posts { display: flex; flex-direction: column; gap: .75rem; }
.sidebar-posts li a {
  font-size: .88rem;
  color: var(--color-accent);
  text-decoration: none;
  line-height: 1.4;
}
.sidebar-posts li a:hover {
  color: var(--color-navy);
  text-decoration: underline;
}

.post-nav {
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
}
.post-nav-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  max-width: 400px;
  text-decoration: none;
}
.post-nav-label { font-size: .8rem; color: var(--color-text-muted); }
.post-nav-title {
  font-weight: 600;
  color: var(--color-navy);
  font-size: .95rem;
}
.post-nav-link:hover .post-nav-title { color: var(--color-accent); text-decoration: none; }
.post-nav-next { text-align: right; align-items: flex-end; }

/* ── Contact form (updated) ───────────────────────────────────────────────── */
.contact-channels-section { padding-bottom: 2rem; }
.contact-channels-title { text-align: center; margin-bottom: .75rem; }
.contact-channels-sub {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.contact-form-section { padding-top: 3rem; }
.contact-form-wrap-centered { max-width: 700px; margin: 0 auto; }
.contact-form-header { margin-bottom: 2rem; }
.contact-form-header h2 { margin-bottom: .5rem; }

/* ── Hero note ────────────────────────────────────────────────────────────── */
.hero-note {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-top: 1rem;
}

/* ── Badge overrides ──────────────────────────────────────────────────────── */
.badge--customs { background: rgba(28,36,54,.08); color: var(--color-navy); }

/* ── Footer additions ─────────────────────────────────────────────────────── */
.footer-contact-sub {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.social-whatsapp { background: rgba(232,71,42,.2) !important; color: #F4A08E !important; }
.social-whatsapp:hover { background: var(--color-accent) !important; color: white !important; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-detail-inner--reverse { direction: ltr; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .who-we-help-inner { grid-template-columns: 1fr; gap: 3rem; }

  .article-grid { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand { grid-column: 1 / -1; }

  .steps { flex-direction: column; align-items: center; }
  .step-divider { width: 2px; height: 40px; margin: 0; }
  .step { max-width: 400px; width: 100%; padding: 0; }
}

@media (max-width: 768px) {
  :root { --section-v: 56px; }

  /* Nav */
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
  }

  .main-nav ul a {
    font-size: 1.05rem;
  }

  .nav-cta { margin-left: 0; }

  .lang-switch { margin-left: 0; }
  .main-nav .lang-switch ul {
    position: static;
    box-shadow: none;
    margin-top: .5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  /* Hero */
  .hero-actions { flex-direction: column; }

  /* WhatsApp float: label hidden on small screens */
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: .9rem; border-radius: 50%; }

  /* Channels */
  .channels-grid--contact .channel-card { flex-direction: column; }

  /* Blog article */
  .article-hero { height: 260px; }
  .post-nav-inner { flex-direction: column; gap: 1.5rem; }
  .post-nav-next { align-items: flex-start; text-align: left; }

  /* Trust bar */
  .trust-bar-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* CTA banner */
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .trust-bar-inner { grid-template-columns: 1fr; }

  .cta-banner-actions { flex-direction: column; }
}
