/* ============================================================
   Sunny Enterprises — v2 modern site
   Palette: sun amber + deep navy, warm paper background
   ============================================================ */
:root {
  --sun: #f5a300;
  --sun-dark: #d98d00;
  --sun-soft: #fff3d6;
  --navy: #10273f;
  --navy-soft: #1b3a5c;
  --ink: #22303e;
  --muted: #64748b;
  --paper: #fffdf8;
  --card: #ffffff;
  --line: #ece5d8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 39, 63, .08);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--sun-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand-logo { display: flex; align-items: center; }
.brand-logo img { height: 46px; width: auto; }

.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  color: var(--ink);
}
.main-nav a:hover { background: var(--sun-soft); color: var(--navy); }
.main-nav a.active { background: var(--navy); color: #fff; }
.nav-cta { background: var(--sun) !important; color: var(--navy) !important; font-weight: 700 !important; }
.nav-cta:hover { background: var(--sun-dark) !important; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--navy); position: relative;
  transition: .25s; content: '';
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 14px 20px 20px; box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; }
}

/* ---------- hero ---------- */
.hero {
  background:
    linear-gradient(105deg, rgba(16,39,63,.88) 0%, rgba(16,39,63,.55) 55%, rgba(16,39,63,.25) 100%),
    url('img/hero-jam.jpg') center/cover no-repeat, var(--navy);
  color: #fff; padding: 96px 0 110px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12; font-weight: 800; max-width: 640px; }
.hero h1 em { color: var(--sun); font-style: normal; }
.hero p { margin: 18px 0 30px; max-width: 520px; font-size: 1.05rem; color: #e2e8f0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-badges span {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
}

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; cursor: pointer; border: 0;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sun { background: var(--sun); color: var(--navy); box-shadow: 0 8px 20px rgba(245,163,0,.35); }
.btn-sun:hover { background: var(--sun-dark); color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); color: #fff; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .kicker {
  color: var(--sun-dark); font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; font-size: .75rem;
}
.section-head h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); color: var(--navy); margin-top: 6px; }
.section-head p { color: var(--muted); margin-top: 10px; }

.bg-tint { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  box-shadow: var(--shadow); display: block; background: var(--navy);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .4s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card .cat-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px;
  background: linear-gradient(transparent, rgba(16,39,63,.9));
  color: #fff; font-weight: 700;
}
.cat-card .cat-label small { display: block; font-weight: 500; color: #cbd5e1; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- brand strip ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-chip {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 10px; text-align: center; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; justify-content: center; min-height: 74px;
}
.brand-chip img { max-height: 44px; width: auto; margin: 0 auto; object-fit: contain; }
@media (max-width: 900px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- cargo feature ---------- */
.cargo-feature {
  background: var(--navy); color: #fff; border-radius: 20px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow);
}
.cargo-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.cargo-body { padding: 46px 42px; }
.cargo-body .kicker { color: var(--sun); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: .75rem; }
.cargo-body h2 { font-size: 1.7rem; margin: 8px 0 14px; }
.cargo-body p { color: #cbd5e1; }
.cargo-body .route {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-weight: 700; font-size: .9rem;
}
.route .port {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 6px 14px;
}
.route .arrow { color: var(--sun); }
@media (max-width: 800px) { .cargo-feature { grid-template-columns: 1fr; } }

/* ---------- product grid / filters ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px;
  align-items: center;
}
.chip {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 8px 18px; font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--ink);
}
.chip:hover { border-color: var(--sun); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.search-box {
  border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 18px;
  font-size: .92rem; min-width: 220px; background: var(--card); color: var(--ink);
}
.search-box:focus { outline: 2px solid var(--sun); border-color: transparent; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 430px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card figure {
  aspect-ratio: 1; background: #fff; display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line); padding: 14px; overflow: hidden;
}
.product-card figure img { width: 100%; height: 100%; object-fit: contain; }
.product-card .p-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-card h3 { font-size: .98rem; color: var(--navy); line-height: 1.3; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
}
.tag-brand { background: var(--sun-soft); color: var(--sun-dark); }
.tag-cat { background: #eef2f7; color: var(--muted); }
.empty-state { text-align: center; color: var(--muted); padding: 60px 0; grid-column: 1/-1; }

/* ---------- product modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(16,39,63,.55); z-index: 90;
  display: none; align-items: center; justify-content: center; padding: 18px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--paper); border-radius: 18px; max-width: 720px; width: 100%;
  max-height: 88vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,.3);
  display: grid; grid-template-columns: 260px 1fr;
}
.modal-img { background: #fff; display: flex; align-items: center; justify-content: center; padding: 22px; border-right: 1px solid var(--line); }
.modal-img img { width: 100%; height: 240px; object-fit: contain; }
.modal-body { padding: 26px 28px; }
.modal-body h3 { color: var(--navy); font-size: 1.3rem; margin: 4px 0 2px; }
.modal-body .note { color: var(--sun-dark); font-style: italic; margin-bottom: 10px; }
.modal-close {
  float: right; border: 0; background: var(--line); border-radius: 999px;
  width: 34px; height: 34px; cursor: pointer; font-size: 1rem; color: var(--navy);
}
.pack-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: .88rem; }
.pack-table th {
  text-align: left; color: var(--muted); font-size: .72rem; text-transform: uppercase;
  letter-spacing: 1px; padding: 8px 10px; border-bottom: 2px solid var(--line);
}
.pack-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.price-note { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
@media (max-width: 640px) {
  .modal { grid-template-columns: 1fr; }
  .modal-img { border-right: 0; border-bottom: 1px solid var(--line); }
  .modal-img img { height: 180px; }
}

/* ---------- outlets ---------- */
.outlet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 800px) { .outlet-grid { grid-template-columns: 1fr; } }
.outlet-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow);
}
.outlet-card figure { aspect-ratio: 16/9; overflow: hidden; }
.outlet-card figure img { width: 100%; height: 100%; object-fit: cover; }
.outlet-card .o-body { padding: 22px 24px 26px; }
.outlet-card h3 { color: var(--navy); font-size: 1.2rem; }
.outlet-card .o-loc { color: var(--sun-dark); font-weight: 600; font-size: .85rem; margin: 2px 0 10px; }
.outlet-card p { color: var(--muted); font-size: .94rem; }

/* ---------- stats ---------- */
.stats-band { background: var(--sun); color: var(--navy); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats-grid strong { display: block; font-size: 2rem; font-weight: 800; }
.stats-grid span { font-weight: 600; font-size: .88rem; opacity: .85; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- about / contact ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.prose p { margin-bottom: 14px; color: var(--ink); }
.prose h3 { color: var(--navy); margin: 18px 0 8px; }
.rounded-img { border-radius: 18px; box-shadow: var(--shadow); }
.portrait-img { width: 100%; max-width: 380px; aspect-ratio: 3/4; object-fit: cover; object-position: top; margin: 0 auto; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; text-align: center;
}
.contact-card .icon {
  width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 12px;
  background: var(--sun-soft); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.contact-card h3 { color: var(--navy); font-size: 1rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: .92rem; word-break: break-word; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1/-1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-size: .95rem; width: 100%; background: var(--card); color: var(--ink); font-family: inherit;
}
.field:focus { outline: 2px solid var(--sun); border-color: transparent; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #cbd5e1; padding: 54px 0 0; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; padding-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: .5px; }
.site-footer img.f-logo { height: 44px; margin-bottom: 14px; }
.site-footer p { font-size: .92rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; font-size: .92rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: var(--sun); }
.copyright {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .85rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.copyright a { color: var(--sun); }

/* utilities */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px;
}
.value-card h3 { color: var(--navy); font-size: 1.02rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .92rem; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
.t-item {
  background: var(--paper); border-left: 4px solid var(--sun); border-radius: 10px;
  padding: 18px 20px; box-shadow: var(--shadow);
}
.t-item strong { color: var(--navy); font-size: 1.25rem; display: block; margin-bottom: 4px; }
.t-item p { color: var(--muted); font-size: .9rem; }

.social-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--navy); color: #fff; padding: 11px 22px; border-radius: 999px;
  font-weight: 600; font-size: .92rem;
}
.social-btn:hover { background: var(--navy-soft); color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; color: #cbd5e1;
}
.footer-social a:hover { background: var(--sun); color: var(--navy); }
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.page-hero {
  background-color: var(--navy);
  background-size: cover;
  background-position: center 62%;
  color: #fff; padding: 64px 0;
}
.page-hero.hero-about    { background-image: linear-gradient(120deg, rgba(16,39,63,.90) 0%, rgba(16,39,63,.62) 100%), url('img/sunny-express-vessel.jpg'); }
.page-hero.hero-products { background-image: linear-gradient(120deg, rgba(16,39,63,.90) 0%, rgba(16,39,63,.60) 100%), url('img/page-products.jpg'); }
.page-hero.hero-outlets  { background-image: linear-gradient(120deg, rgba(16,39,63,.88) 0%, rgba(16,39,63,.55) 100%), url('img/page-outlets.jpg'); }
.page-hero.hero-contact  { background-image: linear-gradient(120deg, rgba(16,39,63,.85) 0%, rgba(16,39,63,.55) 100%), url('img/page-contact.jpg'); }
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.page-hero p { color: #cbd5e1; margin-top: 8px; max-width: 560px; }
