/* ==========================================================================
   YellowGLS — Global Stylesheet
   ========================================================================== */

:root {
  --yellow: #ffb800;
  --yellow-dark: #e6a400;
  --red: #e6332b;
  --red-dark: #c22820;
  --navy: #14181f;
  --navy-2: #1c212b;
  --ink: #20242c;
  --gray-700: #4a4f5a;
  --gray-500: #6b7280;
  --gray-200: #e6e8ec;
  --gray-100: #f4f5f7;
  --white: #ffffff;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(20, 24, 31, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 24, 31, 0.10);
  --shadow-lg: 0 20px 48px rgba(20, 24, 31, 0.16);

  --container: 1200px;
  --header-h: 68px;

  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--navy);
}
p { margin: 0 0 1em; color: var(--gray-700); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(230, 51, 43, .08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }

.bg-light { background: var(--gray-100); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--gray-200); }
.btn-outline-dark:hover { border-color: var(--navy); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }

.main-nav { display: flex; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
  border-radius: var(--radius-sm);
  transition: color .15s ease, background .15s ease;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a { color: var(--red); background: rgba(230,51,43,.06); }
.main-nav .caret { width: 10px; height: 10px; transition: transform .18s ease; }
.main-nav li:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.main-nav li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 500;
  color: var(--gray-700);
}
.dropdown li a:hover { background: var(--gray-100); color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn-primary { padding: 10px 20px; font-size: .88rem; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: .9rem; padding-right: 4px; }
.header-phone svg { width: 17px; height: 17px; color: var(--red); flex-shrink: 0; }
.header-phone strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .86rem; line-height: 1.3; }
.header-phone span { color: var(--gray-500); font-size: .7rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 992px) {
  .header-phone { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px 20px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--gray-200); }
  .main-nav > ul > li > a { padding: 16px 4px; justify-content: space-between; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    display: none;
    padding: 0 0 10px;
  }
  .main-nav li.open .dropdown { display: block; }
  .main-nav li.open .caret { transform: rotate(180deg); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: 640px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, var(--navy) 45%, var(--navy-2) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -10%; top: -20%;
  width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(255,184,0,.16) 0%, rgba(255,184,0,0) 70%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -8%; bottom: -30%;
  width: 45%; height: 100%;
  background: radial-gradient(circle, rgba(230,51,43,.18) 0%, rgba(230,51,43,0) 70%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--yellow); }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); color: var(--white); margin-bottom: .4em; }
.hero h1 span { color: var(--yellow); }
.hero p.lead { color: rgba(255,255,255,.76); font-size: 1.12rem; max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--yellow); }
.hero-stats div span { font-size: .84rem; color: rgba(255,255,255,.65); }

.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 460px;
  margin: 0 auto;
}
.hero-photo {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual .chip {
  position: absolute;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700;
}
.hero-visual .chip svg { width: 22px; height: 22px; color: var(--red); }
.hero-visual .chip-1 { top: 4%; left: -6%; }
.hero-visual .chip-2 { bottom: 10%; right: -10%; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 320px; }
  .hero { min-height: auto; padding: 60px 0 40px; }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  margin-top: var(--header-h);
  padding: 70px 0 60px;
  background: linear-gradient(120deg, var(--navy) 40%, var(--navy-2) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header.has-banner {
  background-size: cover;
  background-position: center;
}
.page-header::after {
  content: "";
  position: absolute; right: -6%; top: -40%;
  width: 40%; height: 180%;
  background: radial-gradient(circle, rgba(255,184,0,.16), transparent 70%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .3em; }
.breadcrumbs { display: flex; gap: 8px; font-size: .88rem; color: rgba(255,255,255,.6); }
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs .sep { color: rgba(255,255,255,.35); }
.page-header p.lead { color: rgba(255,255,255,.72); max-width: 560px; margin-top: 14px; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 992px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(255,184,0,.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; color: var(--red); }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { font-size: .92rem; margin-bottom: 0; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .86rem; color: var(--red); }
.card .card-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

.service-card { position: relative; overflow: hidden; }
.service-card .num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem;
  color: var(--gray-200);
}

/* Feature row (icon + text, no card box) */
.feature { display: flex; gap: 18px; }
.feature-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--yellow); }
.feature h4 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { font-size: .9rem; margin-bottom: 0; }

/* Checklist */
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .96rem; color: var(--gray-700); }
.check-list li svg { width: 20px; height: 20px; color: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.bg-navy .check-list li { color: rgba(255,255,255,.82); }

/* ==========================================================================
   About / split sections
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  /* Whichever side the image sits on at desktop, mobile always shows it
     first, with the text below — regardless of source order. */
  .split .media-block { order: -1; }
}

.media-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.media-block svg { width: 40%; height: 40%; color: var(--yellow); opacity: .9; }
.media-block.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
}
.media-badge strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--red); }
.media-badge span { font-size: .78rem; color: var(--gray-500); }

/* Service detail split — desktop keeps the plain two-column .split layout
   (text column vs. image, vertically centered as one pair, alternating sides
   via `order` instead of DOM order). At mobile, the text column unwraps via
   `display: contents` so heading, image and copy can be given a fixed reading
   order — heading, then image, then copy — independent of desktop's
   alternating layout. */
.service-split.flip .media-block { order: -1; }

@media (max-width: 900px) {
  .service-split .text-col { display: contents; }
  .service-split .split-heading { order: 1; }
  .service-split .media-block,
  .service-split.flip .media-block { order: 2; }
  .service-split .split-content { order: 3; }
}

/* Timeline */
.timeline { position: relative; margin-left: 10px; padding-left: 34px; border-left: 2px solid var(--gray-200); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -41px; top: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--yellow); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--red);
}
.timeline-item h4 { margin-bottom: 4px; }
.timeline-item .yr { color: var(--red); font-weight: 700; font-size: .82rem; letter-spacing: .04em; }

/* Membership cards — consistent media zone across icon-based and logo-based cards */
.membership-media {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.membership-media .card-icon { margin: 0; }
.membership-logo-plate {
  width: 100%;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
}
.membership-logo-plate img { max-width: 100%; max-height: 100%; object-fit: contain; }
.membership-id {
  display: inline-block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 4px 14px;
  border-radius: 999px;
  margin-top: 14px;
}

/* Values grid */
.value-card { text-align: center; padding: 30px 20px; }
.value-card .card-icon { margin-inline: auto; }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0;
}
.stats-band .grid { text-align: center; }
.stats-band strong { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--yellow); }
.stats-band span { font-size: .86rem; color: rgba(255,255,255,.65); }

/* ==========================================================================
   Process steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 22px 22px; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-200); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: var(--white); background: var(--red);
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.testimonial-card .stars { color: var(--yellow); font-size: .9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; color: var(--gray-700); }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(145deg, var(--yellow), var(--red));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--font-head); font-weight: 700;
}
.testimonial-person strong { display: block; font-size: .9rem; color: var(--navy); }
.testimonial-person span { font-size: .78rem; color: var(--gray-500); }

/* ==========================================================================
   Logos strip
   ========================================================================== */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 30px; opacity: .6; }
.logo-strip span { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--gray-500); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--red), var(--red-dark));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.cta-band .btn-primary { background: var(--white); color: var(--red); }
.cta-band .btn-primary:hover { background: var(--navy); color: var(--white); }

/* ==========================================================================
   Knowledge hub / blog cards
   ========================================================================== */
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.post-thumb svg { width: 34%; height: 34%; color: var(--yellow); opacity: .85; }
.post-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--yellow); color: var(--navy);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px;
}
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .78rem; color: var(--gray-500); margin-bottom: 10px; display: flex; gap: 12px; }
.post-body h3 { font-size: 1.04rem; margin-bottom: 10px; }
.post-body p { font-size: .9rem; flex: 1; }
.post-body .card-link { color: var(--red); font-weight: 700; font-size: .86rem; display: inline-flex; align-items: center; gap: 6px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { display: none; color: var(--red); font-size: .78rem; margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field.has-error .error-msg { display: block; }

.form-panel { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px; }
.alert { padding: 16px 20px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 24px; font-weight: 600; }
.alert-success { background: rgba(56,161,105,.12); color: #1f7a4d; border: 1px solid rgba(56,161,105,.3); }
.alert-error { background: rgba(230,51,43,.1); color: var(--red-dark); border: 1px solid rgba(230,51,43,.3); }

/* Contact info list (icon rows) */
.info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .feature-icon { background: rgba(255,184,0,.14); }
.info-row .feature-icon svg { color: var(--red); }
.info-row strong { display: block; color: var(--navy); margin-bottom: 4px; font-size: .95rem; }
.info-row span, .info-row a { color: var(--gray-500); font-size: .9rem; }
.bg-navy .info-row .feature-icon { background: rgba(255,255,255,.1); }
.bg-navy .info-row .feature-icon svg { color: var(--yellow); }
.bg-navy .info-row strong { color: var(--white); }
.bg-navy .info-row span, .bg-navy .info-row a { color: rgba(255,255,255,.7); }

.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-200); height: 340px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding-top: 72px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 56px; margin-bottom: 18px; display: block; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9rem; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.footer-social a:hover { background: var(--yellow); color: var(--navy); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }

.site-footer h5 { color: var(--white); font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 22px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,.65); transition: color .15s ease; }
.footer-links a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: .88rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--yellow); flex-shrink: 0; margin-top: 2px; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--yellow); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   Misc utilities
   ========================================================================== */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--gray-200); margin: 60px 0; }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 998; border: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Utilities page — clocks, tables, converters
   ========================================================================== */
.util-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 992px) { .util-nav { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .util-nav { grid-template-columns: repeat(2, 1fr); } }
.util-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; padding: 22px 12px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  font-size: .84rem; font-weight: 700; color: var(--navy);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.util-nav a:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.util-nav svg { width: 26px; height: 26px; color: var(--red); }

.util-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) { .util-panel { padding: 26px 20px; } }

/* World clocks */
.clock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .clock-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .clock-grid { grid-template-columns: 1fr; } }
.clock-card {
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}
.clock-card .city { font-weight: 700; font-family: var(--font-head); font-size: .95rem; margin-bottom: 4px; }
.clock-card .tz-label { font-size: .74rem; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.clock-card .time { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--yellow); letter-spacing: .02em; }
.clock-card .date { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 6px; }

/* Data tables (Incoterms, Container spec) */
.swipe-hint { display: none; font-size: .78rem; color: var(--gray-500); margin-bottom: 10px; text-align: center; align-items: center; justify-content: center; gap: 6px; }
@media (max-width: 680px) { .swipe-hint { display: flex; } }
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--gray-200); -webkit-overflow-scrolling: touch; }
table.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
table.data-table thead th {
  background: var(--navy); color: var(--white);
  text-align: left; padding: 14px 18px; font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
table.data-table tbody td { padding: 14px 18px; border-bottom: 1px solid var(--gray-200); color: var(--gray-700); }
table.data-table tbody tr:last-child td { border-bottom: none; }
table.data-table tbody tr:nth-child(even) { background: var(--gray-100); }
table.data-table td strong { color: var(--navy); }
.mode-pill {
  display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: rgba(255,184,0,.16); color: var(--yellow-dark);
}
.mode-pill.any { background: rgba(230,51,43,.1); color: var(--red); }

/* Converter widgets */
.converter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: end; }
@media (max-width: 768px) { .converter-grid { grid-template-columns: 1fr; } }
.converter-grid .swap-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  color: var(--red); margin: 0 auto;
  transition: background .15s ease, transform .2s ease;
}
.converter-grid .swap-btn:hover { background: var(--yellow); color: var(--navy); transform: rotate(180deg); }
.converter-grid .swap-btn svg { width: 20px; height: 20px; }

.converter-result {
  margin-top: 28px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.converter-result .label { font-size: .8rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.converter-result .value { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--red); }
.converter-note { font-size: .8rem; color: var(--gray-500); margin-top: 14px; }

.dim-grid { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 16px; align-items: end; }
@media (max-width: 640px) { .dim-grid { grid-template-columns: 1fr 1fr; } .dim-grid .field.full-mobile { grid-column: 1 / -1; } }

.util-tabs-hint { font-size: .84rem; color: var(--gray-500); margin-bottom: 24px; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; left: 24px; bottom: 24px;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 998;
}
.whatsapp-float svg { width: 26px; height: 26px; }
