/* ============ Youte Sourcing - Static Site Stylesheet ============ */
:root {
  /* print-friendly, deeper palette */
  --navy: #0e2a47;
  --navy-2: #123a5c;
  --primary: #17567e;         /* deep ocean blue */
  --primary-dark: #0e3d5c;
  --primary-soft: #e8f0f6;
  --teal: #0f6b62;
  --accent: #a8722a;          /* warm bronze / ochre */
  --accent-soft: #f5e9d6;
  --dark: #0e2a47;
  --text: #35495c;
  --muted: #66798b;
  --bg: #ffffff;
  --bg-alt: #eef3f7;          /* cool light */
  --sand: #f8f3ea;            /* warm light */
  --border: #dfe7ee;
  --wa: #25d366;
  --radius: 14px;
  --max: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { color: var(--dark); line-height: 1.28; }
h1 { font-size: 2.45rem; letter-spacing: -.4px; }
h2 { font-size: 1.95rem; margin-bottom: 12px; letter-spacing: -.3px; }
h3 { font-size: 1.12rem; margin-bottom: 8px; }
p { margin-bottom: 14px; }
a { color: var(--primary); text-decoration: none; }
ul { padding-left: 20px; }
li { margin-bottom: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; display: block; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--text); font-weight: 600; font-size: .94rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--primary); border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 27px; border-radius: 9px;
  font-weight: 700; font-size: .97rem; letter-spacing: .2px;
  transition: all .2s; border: none; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(23,86,126,.22); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(23,86,126,.28); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; padding: 9px 18px; font-size: .9rem; white-space: nowrap; }
.btn-wa:hover { filter: brightness(.93); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(168,114,42,.28); }
.btn-accent:hover { background: #8e5f20; transform: translateY(-1px); }
.btn-ghost-light { border: 2px solid rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ---------- Hero (photo + navy panel) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 8% 108%, rgba(168,114,42,.30), transparent 62%),
    radial-gradient(800px 460px at 92% -10%, rgba(23,86,126,.55), transparent 60%),
    linear-gradient(150deg, #0b2237 0%, #0e2a47 45%, #17567e 100%);
  color: #fff;
  padding: 68px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 100% 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 50px; align-items: center; }
.hero .tagline {
  display: inline-block; text-transform: uppercase; letter-spacing: 2.6px;
  font-size: .75rem; font-weight: 800; margin-bottom: 18px;
  color: #e8c48d; border-left: 3px solid var(--accent); padding-left: 12px;
}
.hero h1 { color: #fff; font-size: 2.62rem; line-height: 1.2; max-width: 640px; letter-spacing: -.6px; }
.hero h1 .hl { color: #e8c48d; }
.hero p { color: #c2d2e0; font-size: 1.08rem; max-width: 560px; margin: 20px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.hero-actions .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px;
  font-size: .85rem; color: #a9bdcf; font-weight: 600;
}
.hero-trust span::before { content: "✓"; color: #7fb7a1; font-weight: 800; margin-right: 7px; }

.hero-media { position: relative; margin: 0; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3.15; object-fit: cover; object-position: center 45%; display: block;
  border-radius: 16px; box-shadow: 0 26px 60px rgba(4,16,28,.48);
}
.hero-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid rgba(232,196,141,.42); border-radius: 18px; z-index: -1;
}
.hero-media figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: linear-gradient(0deg, rgba(6,18,30,.92) 12%, rgba(6,18,30,.55) 55%, rgba(6,18,30,0) 100%);
  color: #e6eef5; font-size: .82rem; padding: 34px 20px 15px;
  border-radius: 0 0 16px 16px; letter-spacing: .3px;
}

/* ---------- Stats bar (floating card) ---------- */
.stats { background: transparent; margin-top: -48px; position: relative; z-index: 3; }
.stats-grid {
  background: #fff; border-radius: 16px; border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(14,42,71,.12);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 0; overflow: hidden;
}
.stat { text-align: center; padding: 22px 12px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat b { display: block; font-size: 2.05rem; color: var(--navy); letter-spacing: -.5px; }
.stat b::after { content: ""; display: block; width: 26px; height: 3px; background: var(--accent); margin: 10px auto 8px; border-radius: 2px; }
.stat span { color: var(--muted); font-size: .88rem; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section.alt { background: var(--bg-alt); }
.section.warm { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  color: var(--accent); font-weight: 800; text-transform: uppercase;
  letter-spacing: 2.2px; font-size: .76rem; display: block; margin-bottom: 10px;
}

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(14,42,71,.10); border-color: #c9dae7; }
.card .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 11px; margin-bottom: 15px;
  background: linear-gradient(150deg, var(--navy), var(--primary)); color: #fff;
  transition: background .2s;
}
.card .icon svg { width: 22px; height: 22px; display: block; }
.card:hover .icon { background: linear-gradient(150deg, #8e5f20, var(--accent)); }
.card p { font-size: .93rem; color: var(--muted); margin-bottom: 0; }
.card h3 { font-size: 1.04rem; }

/* ---------- Image ---------- */
.img-placeholder {
  background: repeating-linear-gradient(45deg, #e2e8f0, #e2e8f0 12px, #f1f5f9 12px, #f1f5f9 24px);
  border: 1px dashed #94a3b8; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--muted); font-size: .85rem; padding: 16px; min-height: 180px;
}
.img-placeholder.tall { min-height: 260px; }
.img-note { font-size: .78rem; color: #8e5f20; background: var(--accent-soft); border-radius: 6px; padding: 2px 8px; display: inline-block; margin-top: 6px; }
.img-cover { width: 100%; height: auto; display: block; border-radius: var(--radius); object-fit: cover; box-shadow: 0 14px 34px rgba(14,42,71,.14); }
.card .img-cover { border-radius: 9px; aspect-ratio: 4 / 3; box-shadow: none; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 11px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  font-size: .72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 28px; border-left: 3px solid var(--border); }
.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item::before {
  content: ""; position: absolute; left: -37px; top: 6px;
  width: 15px; height: 15px; border-radius: 50%; background: var(--accent); border: 3px solid var(--accent-soft);
}
.timeline-item b { color: var(--primary); display: block; font-size: 1.05rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; margin-bottom: 24px; }
.step-num {
  counter-increment: step; flex: 0 0 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(150deg, var(--navy), var(--primary)); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.step-num::before { content: counter(step); }

/* ---------- FAQ ---------- */
details.faq {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--primary);
  border-radius: 10px; padding: 18px 22px; margin-bottom: 12px;
}
details.faq summary { font-weight: 700; color: var(--dark); cursor: pointer; list-style: none; }
details.faq summary::before { content: "+ "; color: var(--accent); font-weight: 800; }
details.faq[open] summary::before { content: "− "; }
details.faq p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Category chips (products page) ---------- */
.cat-card { border-left: 4px solid var(--primary); }
.cat-card:nth-child(3n+2) { border-left-color: var(--accent); }
.cat-card:nth-child(3n) { border-left-color: var(--teal); }
.cat-card h3 { font-size: 1rem; }

/* ---------- Contact ---------- */
.contact-card { text-align: center; padding: 34px 26px; }
.contact-card .icon { display: flex; margin: 0 auto 14px; width: 54px; height: 54px; }
.contact-card .icon svg { width: 26px; height: 26px; }
.contact-card b { display: block; font-size: 1.1rem; color: var(--dark); margin-bottom: 4px; }
.contact-card a { font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 340px at 86% 118%, rgba(168,114,42,.42), transparent 66%),
    linear-gradient(120deg, #11415f 0%, #1a6591 100%);
  color: #fff; text-align: center; padding: 72px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c2d2e0; max-width: 620px; margin: 0 auto 28px; }

/* ---------- District block ---------- */
.district {
  display: grid; grid-template-columns: 310px 1fr; column-gap: 32px; align-items: start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; margin-bottom: 24px;
}
.district > * { grid-column: 2; }
.district > .district-photo { grid-column: 1; grid-row: 1 / span 4; align-self: stretch; }
.district-photo { margin: 0; border-radius: 10px; overflow: hidden; background: var(--bg-alt); }
.district-photo img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: center 68%; display: block; }
.district-photo figcaption { font-size: .75rem; color: var(--muted); padding: 6px 2px 0; }
.district h3 { display: flex; align-items: baseline; gap: 10px; }
.district h3 .dist-no { color: var(--accent); font-size: 1.6rem; }
.district .meta { color: var(--muted); font-size: .85rem; margin-bottom: 10px; }
.card-media { margin: -26px -26px 20px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card-media img { width: 100%; height: 200px; object-fit: cover; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { background: var(--primary-soft); color: var(--primary-dark); font-size: .8rem; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.floor-list { list-style: none; padding: 0; }
.floor-list li { padding: 6px 0 6px 58px; position: relative; border-bottom: 1px dashed var(--border); font-size: .93rem; }
.floor-list li b.no { position: absolute; left: 0; background: var(--bg-alt); color: var(--dark); border-radius: 6px; padding: 2px 8px; font-size: .8rem; }

/* ---------- Footer ---------- */
.site-footer { background: #08192b; color: #94a3b8; padding: 58px 0 0; font-size: .92rem; }
.footer-logo { height: 44px; width: auto; display: block; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #94a3b8; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #e8c48d; }
.footer-bottom { border-top: 1px solid #16304a; padding: 18px 0; font-size: .82rem; color: #6b8095; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  background: var(--wa); color: #fff; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  box-shadow: 0 8px 22px rgba(37,211,102,.42); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; }
table.comparison { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; font-size: .93rem; }
table.comparison th, table.comparison td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; }
table.comparison th { background: var(--primary-soft); color: var(--dark); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .85rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 92% -20%, rgba(23,86,126,.6), transparent 62%),
    linear-gradient(135deg, #0b2237, #14496e);
  color: #fff; padding: 64px 0 56px;
}
.page-hero h1 { color: #fff; font-size: 2.15rem; }
.page-hero p { color: #c2d2e0; max-width: 680px; margin-top: 12px; }

/* ---------- Article / Blog ---------- */
.post-meta { color: #e8c48d; font-size: .9rem; margin-top: 14px; }
.post-meta b { color: #fff; }
.article { max-width: 820px; }
.article h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.article h3 { font-size: 1.15rem; margin: 22px 0 8px; }
.article ul, .article ol { margin-bottom: 16px; }
.article blockquote {
  border-left: 4px solid var(--accent); background: var(--sand);
  padding: 14px 20px; border-radius: 0 8px 8px 0; margin: 20px 0;
  color: var(--dark); font-style: italic;
}
.blog-card { display: flex; flex-direction: column; }
.blog-card .date { color: var(--muted); font-size: .82rem; margin-bottom: 6px; }
.blog-card .cat { display: inline-block; background: var(--accent-soft); color: #8e5f20; font-size: .75rem; font-weight: 800; border-radius: 999px; padding: 3px 11px; margin-bottom: 10px; align-self: flex-start; }
.blog-card .more { margin-top: auto; font-weight: 700; color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .hero-media::before { display: none; }
  .grid-2 { gap: 32px; }
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .district { grid-template-columns: 1fr; row-gap: 18px; }
  .district > * , .district > .district-photo { grid-column: 1; grid-row: auto; }
  .district-photo img { min-height: 0; height: 220px; }
  .district h3 { display: block; }
  .district h3 .dist-no { display: block; font-size: 1.15rem; margin-bottom: 2px; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.72rem; }
  .hero { padding: 44px 0 84px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .brand img { height: 38px; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border); padding: 10px 22px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--bg-alt); }
  .nav-toggle { display: block; margin-left: auto; }
  .header-inner .btn-wa { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat b { font-size: 1.7rem; }
}
