/* COSTLAND_CARGO_PHASE1_STEP1 */
:root {
  --navy: #06475a;
  --deep: #032f3d;
  --orange: #f28a22;
  --orange-dark: #d96e16;
  --white: #ffffff;
  --soft: #f5f8fa;
  --text: #1f2b33;
  --muted: #65717a;
  --line: rgba(255,255,255,.16);
  --shadow: 0 18px 50px rgba(0,0,0,.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--soft);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3,47,61,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--orange), #fff0d7);
  color: var(--deep);
  font-weight: 900;
}

.brand strong { display: block; font-size: 18px; line-height: 1.1; }
.brand small { display: block; color: rgba(255,255,255,.72); font-size: 12px; margin-top: 2px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,.86);
  font-weight: 700;
}

.main-nav a { padding: 8px 0; }
.main-nav a.active, .main-nav a:hover { color: var(--orange); }

.nav-cta {
  padding: 10px 16px !important;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font-size: 28px;
}

.hero {
  min-height: 620px;
  color: white;
  background:
    radial-gradient(circle at 78% 18%, rgba(242,138,34,.42), transparent 28%),
    linear-gradient(135deg, rgba(3,47,61,.95), rgba(6,71,90,.74)),
    url('../images/hero-placeholder.svg') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 44px;
  align-items: center;
  padding: 84px 0;
}

.eyebrow {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 12px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 22px; }

.lead {
  font-size: 20px;
  color: rgba(255,255,255,.88);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 900;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
  box-shadow: 0 14px 30px rgba(242,138,34,.28);
}

.btn.secondary {
  background: rgba(255,255,255,.12);
  color: white;
  border: 1px solid rgba(255,255,255,.28);
}

.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-card h2 {
  font-size: clamp(42px, 6vw, 72px);
  text-transform: uppercase;
  margin-bottom: 0;
}

.hero-card p {
  margin-top: 0;
  color: var(--orange);
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.hero-card li {
  padding: 10px 0 10px 34px;
  position: relative;
  border-top: 1px solid rgba(255,255,255,.12);
  font-weight: 800;
}

.hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
}

.section {
  padding: 78px 0;
  background: white;
}

.section.alt {
  background: var(--deep);
  color: white;
}

.section-head {
  margin-bottom: 32px;
  max-width: 720px;
}

.row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.text-link {
  color: var(--orange);
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  padding: 26px;
  border-radius: 22px;
  background: var(--soft);
  border: 1px solid #e8eef1;
  min-height: 230px;
}

.service-card span { font-size: 34px; display: block; margin-bottom: 16px; }
.service-card p { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.points {
  display: grid;
  gap: 14px;
}

.points p {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 18px;
  margin: 0;
}

.page-hero {
  background:
    radial-gradient(circle at 80% 0%, rgba(242,138,34,.28), transparent 34%),
    linear-gradient(135deg, var(--deep), var(--navy));
  color: white;
  padding: 90px 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255,255,255,.82);
  font-size: 19px;
}

.content-narrow { max-width: 820px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.values-grid div {
  padding: 22px;
  border-radius: 18px;
  background: var(--soft);
}

.values-grid strong, .values-grid span { display: block; }

.service-list {
  display: grid;
  gap: 18px;
}

.service-list article {
  padding: 26px;
  border-radius: 20px;
  border-left: 6px solid var(--orange);
  background: var(--soft);
}

.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--deep));
  color: white;
  text-align: center;
  padding: 70px 0;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post-card {
  border-radius: 22px;
  overflow: hidden;
  background: white;
  border: 1px solid #e8eef1;
  box-shadow: 0 12px 34px rgba(3,47,61,.08);
}

.post-card img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  background: #dfe9ee;
}

.post-card-body { padding: 22px; }
.post-meta { color: var(--orange); font-weight: 800; font-size: 13px; }
.post-card h3 a:hover { color: var(--orange); }
.post-card p { color: var(--muted); }

.empty-note {
  color: var(--muted);
  background: var(--soft);
  padding: 18px;
  border-radius: 14px;
}

.article h1 { color: var(--deep); }
.article-image {
  border-radius: 22px;
  margin: 26px 0;
  max-height: 470px;
  width: 100%;
  object-fit: cover;
}
.article-body {
  font-size: 18px;
  color: #35444d;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.contact-card, .form-card {
  background: var(--soft);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid #e8eef1;
}

.form-card label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  margin-bottom: 14px;
}

input, textarea, select {
  width: 100%;
  border: 1px solid #dbe4e8;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: white;
}

textarea { resize: vertical; }

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-weight: 800;
}

.alert.success { background: #e5f8ed; color: #126333; }
.alert.error { background: #fde7e7; color: #8a1818; }

.site-footer {
  background: #021f29;
  color: rgba(255,255,255,.82);
  padding-top: 54px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 24px;
}

.footer-grid h3, .footer-grid h4 { color: white; }

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 38px;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: white;
  font-weight: 900;
  font-size: 26px;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
  z-index: 40;
}

.admin-shell {
  min-height: 100vh;
  background: var(--soft);
}

.admin-topbar {
  background: var(--deep);
  color: white;
  padding: 18px 0;
}

.admin-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.admin-layout {
  padding: 34px 0;
}

.admin-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #e8eef1;
  box-shadow: 0 12px 34px rgba(3,47,61,.08);
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid #e8eef1;
  text-align: left;
  vertical-align: top;
}

th { color: var(--deep); }

.small-link {
  color: var(--orange);
  font-weight: 800;
  margin-right: 10px;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--deep);
    padding: 18px;
  }

  .main-nav.open { display: flex; }

  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .post-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 54px 0;
  }

  .row-head {
    align-items: start;
    flex-direction: column;
  }

  .header-inner { height: 70px; }
}
/* COSTLAND_CARGO_PHASE1_STEP2 */
.brand-logo {
  width: 132px;
  height: 54px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255,255,255,.96);
  padding: 6px 8px;
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.admin-stats div {
  background: var(--soft);
  border: 1px solid #e8eef1;
  border-radius: 18px;
  padding: 18px;
}

.admin-stats strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: var(--deep);
}

.admin-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 880px) {
  .brand-logo {
    width: 112px;
    height: 48px;
  }

  .admin-topbar .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
/* COSTLAND_CARGO_PHASE1_STEP3 */
.system-check-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.system-check-item {
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid #e8eef1;
  background: var(--soft);
}

.system-check-item strong,
.system-check-item span {
  display: block;
}

.system-check-item span {
  margin-top: 4px;
  color: var(--muted);
}

.system-check-item.ok {
  border-color: #bde8cc;
  background: #effbf3;
}

.system-check-item.bad {
  border-color: #f3b6b6;
  background: #fff1f1;
}

/* COSTLAND_CARGO_PHASE1_STEP5_FUTURISTIC_POLISH */
:root {
  --cyber: #29d8ff;
  --cyber-soft: rgba(41, 216, 255, .16);
  --glass: rgba(255, 255, 255, .085);
  --glass-border: rgba(255, 255, 255, .18);
}

body {
  font-family: "Segoe UI", "Inter", "Arial", sans-serif;
  letter-spacing: -0.015em;
}

h1, h2, h3 {
  letter-spacing: -0.045em;
  font-weight: 900;
}

h1 {
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.04;
}

h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

h3 {
  font-size: 19px;
  line-height: 1.16;
}

.lead {
  font-size: clamp(16px, 1.7vw, 18px);
  max-width: 620px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
}

.site-header {
  background:
    linear-gradient(90deg, rgba(2,31,41,.98), rgba(3,47,61,.95)),
    radial-gradient(circle at 18% 0%, rgba(41,216,255,.16), transparent 34%);
}

.header-inner {
  height: 68px;
}

.brand strong {
  font-size: 16px;
  letter-spacing: -0.03em;
}

.brand small {
  font-size: 11px;
}

.brand-logo {
  width: 118px;
  height: 48px;
  border-radius: 9px;
  padding: 5px 7px;
}

.main-nav {
  gap: 16px;
  font-size: 14px;
  letter-spacing: .02em;
}

.nav-cta,
.btn {
  border-radius: 14px;
}

.nav-cta {
  padding: 9px 14px !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 12px 28px rgba(242,138,34,.22);
}

.hero {
  min-height: 560px;
  background:
    linear-gradient(125deg, rgba(2,31,41,.98), rgba(6,71,90,.82)),
    radial-gradient(circle at 78% 18%, rgba(242,138,34,.34), transparent 30%),
    radial-gradient(circle at 16% 24%, rgba(41,216,255,.18), transparent 28%),
    url('../images/hero-placeholder.svg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent);
}

.hero-grid {
  position: relative;
  z-index: 1;
  padding: 68px 0;
  gap: 36px;
}

.hero-card {
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0,0,0,.24), inset 0 0 0 1px rgba(41,216,255,.08);
}

.hero-card h2 {
  font-size: clamp(34px, 4.8vw, 54px);
  letter-spacing: -0.06em;
}

.hero-card p {
  font-size: clamp(22px, 3vw, 30px);
}

.service-card,
.post-card,
.contact-card,
.form-card,
.admin-card,
.service-list article,
.values-grid div {
  border-radius: 18px;
  border: 1px solid rgba(6,71,90,.10);
  box-shadow: 0 14px 36px rgba(3,47,61,.075);
}

.service-card {
  min-height: 205px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:hover,
.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(41,216,255,.26);
  box-shadow: 0 18px 46px rgba(3,47,61,.12);
}

.service-card span {
  font-size: 30px;
}

.page-hero {
  padding: 70px 0;
  background:
    linear-gradient(135deg, rgba(2,31,41,.98), rgba(6,71,90,.88)),
    radial-gradient(circle at 84% 12%, rgba(242,138,34,.24), transparent 32%),
    radial-gradient(circle at 16% 10%, rgba(41,216,255,.14), transparent 28%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyber), transparent);
  opacity: .55;
}

.section {
  padding: 64px 0;
}

.cta-band {
  padding: 58px 0;
}

.post-card-body {
  padding: 20px;
}

.post-meta {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

input, textarea, select {
  border-radius: 10px;
}

.whatsapp-float {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

@media (max-width: 880px) {
  .header-inner {
    height: 64px;
  }

  .main-nav {
    top: 64px;
  }

  .brand-logo {
    width: 102px;
    height: 44px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .hero-grid {
    padding: 46px 0;
  }

  .section {
    padding: 52px 0;
  }

  h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  h2 {
    font-size: clamp(24px, 7vw, 32px);
  }
}

/* COSTLAND_CARGO_PHASE2_STEP3_LIVE_ERROR_CONTACT_LOGO_HOTFIX */
.site-header .brand {
  gap: 11px;
  min-width: 0;
}

.brand-logo {
  width: 46px !important;
  height: 46px !important;
  max-width: 46px !important;
  flex: 0 0 46px;
  padding: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  background: transparent !important;
  box-shadow: none !important;
}

.brand strong {
  font-size: 16px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.brand small {
  font-size: 11px;
  line-height: 1.15;
  opacity: .86;
}

@media (max-width: 880px) {
  .brand-logo {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    flex-basis: 42px;
  }

  .brand strong {
    font-size: 14px;
  }
}

/* COASTLAND_CARGO_PHASE2_STEP7_SHIPPING_POLICY */
.policy-layout {
  display: grid;
  gap: 22px;
  max-width: 1040px;
}

.policy-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(6,71,90,.12);
  background: linear-gradient(145deg, #ffffff, #f6fafc);
  box-shadow: 0 18px 46px rgba(3,47,61,.08);
  padding: 28px;
}

.policy-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--orange), var(--cyber, #29d8ff));
}

.policy-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 32px;
  border-radius: 999px;
  background: rgba(242,138,34,.12);
  color: var(--orange);
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.policy-card h2 {
  margin-bottom: 12px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 18px 0;
}

.policy-grid div,
.location-box {
  border-radius: 16px;
  border: 1px solid rgba(6,71,90,.10);
  background: rgba(255,255,255,.72);
  padding: 18px;
}

.policy-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.policy-note {
  border-radius: 14px;
  background: rgba(242,138,34,.10);
  border: 1px solid rgba(242,138,34,.20);
  padding: 14px 16px;
  margin-top: 18px;
}

.policy-cta {
  background:
    linear-gradient(135deg, rgba(2,31,41,.98), rgba(6,71,90,.88)),
    radial-gradient(circle at 82% 20%, rgba(242,138,34,.25), transparent 35%);
  color: #fff;
}

.policy-cta p {
  color: rgba(255,255,255,.86);
}

.footer-link {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--orange);
}

@media (max-width: 760px) {
  .policy-card {
    padding: 22px;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }
}
.nav-admin-link {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
}

.nav-admin-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,.5);
}

.nav-whatsapp-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .28);
}

.nav-whatsapp-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, .36);
}
.whatsapp-float svg,
.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}
