/* ===== Penguin Ocean Leisure — base styles ===== */
:root {
  --blue: #0a81c5;
  --blue-dark: #045a8d;
  --blue-deep: #04263a;
  --aqua: #36c5d6;
  --ink: #1b2733;
  --muted: #5b6b7a;
  --line: #e4ebf1;
  --bg-soft: #f4f8fb;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(4, 38, 58, .08);
  --maxw: 1180px;
  --font: "Pretendard", system-ui, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.section-sub { color: var(--muted); font-size: 17px; margin-top: 14px; max-width: 620px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; transition: .2s ease; cursor: pointer; border: 0;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(10,129,197,.3); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.28); }
.btn--outline { background: #fff; color: var(--blue); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--blue); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand .logo { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--aqua)); display: grid; place-items: center; color: #fff; font-size: 18px; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.brand-logo { height: 42px; width: auto; }
.footer .brand-logo { height: 46px; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
@media (max-width: 600px) { .brand-name { display: none; } }
.menu { display: flex; align-items: center; gap: 30px; list-style: none; }
.menu > li > a { font-weight: 600; font-size: 15.5px; color: var(--ink); padding: 8px 0; transition: color .2s; white-space: nowrap; }
.menu > li > a:hover { color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 6px; font-size: 13px; font-weight: 700; }
.lang a { padding: 5px 9px; border-radius: 7px; color: var(--muted); }
.lang a.active { background: var(--blue); color: #fff; }
.hamburger { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 84vh; display: grid; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(4,38,58,.78) 0%, rgba(4,38,58,.42) 55%, rgba(4,38,58,.15) 100%); }
.hero__inner { position: relative; z-index: 2; max-width: 660px; padding: 80px 0; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
.hero p { font-size: clamp(17px, 2.4vw, 21px); margin-top: 22px; color: rgba(255,255,255,.92); }
.hero__cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero__tag { display: inline-block; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); font-size: 14px; font-weight: 600; }
.hero__tags .hero__tag { margin-bottom: 0; }

/* ===== Page hero (sub pages) ===== */
.page-hero { position: relative; color: #fff; padding: 92px 0; overflow: hidden; background: var(--blue-deep); }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(120deg, rgba(4,38,58,.85), rgba(10,129,197,.55)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.page-hero p { margin-top: 14px; font-size: 18px; color: rgba(255,255,255,.9); max-width: 640px; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.breadcrumb a:hover { color: #fff; }

/* prose */
.prose p { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; }
.lead { font-size: 20px; font-weight: 600; color: var(--ink); }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 12px; }
.value { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.value .num { font-size: 14px; font-weight: 800; color: var(--blue); letter-spacing:.04em; }
.value h3 { font-size: 19px; font-weight: 700; margin: 10px 0 8px; }
.value p { color: var(--muted); font-size: 15px; }
.timeline { display:grid; gap: 0; margin-top: 12px; }
.tl-item { display:grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 0; border-bottom:1px solid var(--line); }
.tl-item b { color: var(--blue); font-size: 17px; }
.tl-item p { color: var(--muted); font-size: 15.5px; }
.chip-list { display:flex; flex-wrap:wrap; gap:10px; margin-top: 20px; }
.chip { background: var(--bg-soft); border:1px solid var(--line); border-radius:999px; padding:8px 16px; font-size:14px; font-weight:600; color: var(--ink); }
.info-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-card h4 { font-size:16px; font-weight:700; margin-bottom: 6px; }
.info-card p { color: var(--muted); font-size:15px; }
.gallery-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gallery-grid img { aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; width:100%; }

@media (max-width: 900px) {
  .value-grid, .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .tl-item { grid-template-columns: 90px 1fr; gap: 16px; }
}
@media (max-width: 540px) {
  .value-grid, .gallery-grid { grid-template-columns: 1fr; }
}

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 15px; font-weight: 600; }

/* ===== Products grid ===== */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: .25s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { aspect-ratio: 4/3; background: var(--bg-soft); position: relative; overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; box-sizing: border-box; }
.card__body { padding: 22px 24px 26px; }
.card__body h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.card__body p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.card__cat { font-size: 12.5px; font-weight: 700; color: var(--blue); letter-spacing: .04em; text-transform: uppercase; }

/* ===== Split / locations ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.loc-list { display: grid; gap: 18px; margin-top: 26px; }
.loc { display: flex; gap: 16px; align-items: flex-start; }
.loc .pin { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); color: var(--blue); display: grid; place-items: center; font-size: 20px; }
.loc h4 { font-size: 17px; font-weight: 700; }
.loc p { color: var(--muted); font-size: 14.5px; }

/* ===== Reasons ===== */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.reason { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.reason .ico { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--aqua)); display: grid; place-items: center; color: #fff; font-size: 24px; }
.reason h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.reason p { color: var(--muted); font-size: 14px; }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; border-radius: 24px; padding: 56px; text-align: center; }
.cta-band h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; }
.cta-band p { margin: 14px auto 28px; max-width: 560px; color: rgba(255,255,255,.9); }

/* ===== Footer ===== */
.footer { background: var(--blue-deep); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: 14.5px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer h5 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .socials { display: flex; gap: 12px; margin-top: 18px; }
.footer .socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; transition: .2s; }
.footer .socials a:hover { background: var(--blue); }
.footer__bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .menu, .lang { display: none; }
  .hamburger { display: block; }
  .grid--3, .reasons, .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .cta-band { padding: 40px 24px; }
}
@media (max-width: 540px) {
  .grid--3, .reasons, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

/* ===== Distributor trust strip ===== */
.trust-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.trust-strip--3 { grid-template-columns:repeat(3,1fr); }
.trust-item { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px 22px; text-align:center; }
.trust-item .ico { width:52px; height:52px; margin:0 auto 14px; border-radius:14px; background:linear-gradient(135deg,var(--blue),var(--aqua)); display:grid; place-items:center; color:#fff; font-size:23px; }
.trust-item h4 { font-size:16px; font-weight:700; margin-bottom:6px; }
.trust-item p { color:var(--muted); font-size:14px; }
.distributor-banner { background:linear-gradient(120deg,var(--blue-deep),var(--blue)); border-radius:24px; padding:40px 44px; color:#fff; display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.distributor-banner .logo-mark { flex:0 0 auto; width:64px; height:64px; border-radius:16px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.35); display:grid; place-items:center; font-size:28px; }
.distributor-banner h3 { font-size:22px; font-weight:800; margin-bottom:6px; }
.distributor-banner p { color:rgba(255,255,255,.88); font-size:15px; max-width:640px; }

/* ===== Flagship spotlight ===== */
.flagship-badge { display:inline-block; padding:6px 16px; border-radius:999px; background:linear-gradient(120deg,#c9a227,#e8cf7e); color:#3a2e00; font-weight:800; font-size:12.5px; letter-spacing:.06em; margin-bottom:14px; }
.price-tag { font-size:22px; font-weight:800; color:var(--blue); letter-spacing:-.01em; }
.price-tag small { font-size:13px; font-weight:600; color:var(--muted); margin-left:4px; }
.price-tag--sm { font-size:16px; }

/* 4-col grid for compact model cards */
.grid--4 { grid-template-columns:repeat(4,1fr); }
.model-card { background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; display:flex; flex-direction:column; transition:.2s; }
.model-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.model-card .card__media { aspect-ratio:4/3; background:var(--bg-soft); }
.model-card .card__media img { width:100%; height:100%; object-fit:cover; }
.model-card .mc-body { padding:16px 18px 20px; }
.model-card .mc-code { font-size:11.5px; font-weight:800; color:var(--blue); letter-spacing:.05em; }
.model-card h4 { font-size:16.5px; font-weight:700; margin:4px 0 8px; }
.model-card ul { list-style:none; margin-bottom:10px; }
.model-card ul li { font-size:13px; color:var(--muted); padding-left:14px; position:relative; line-height:1.5; margin-bottom:2px; }
.model-card ul li::before { content:"·"; position:absolute; left:2px; color:var(--blue); font-weight:800; }

@media (max-width:1024px){ .grid--4 { grid-template-columns:repeat(2,1fr); } .distributor-banner{padding:32px 26px;} }
@media (max-width:900px){ .trust-strip, .trust-strip--3 { grid-template-columns:repeat(2,1fr); } }
@media (max-width:540px){ .grid--4 { grid-template-columns:1fr; } .trust-strip { grid-template-columns:1fr; } }

/* ===== Product detail ===== */
.spec-table { width:100%; border-collapse:collapse; margin-top:8px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.spec-table th, .spec-table td { text-align:left; padding:14px 20px; border-bottom:1px solid var(--line); font-size:15px; }
.spec-table th { width:38%; background:var(--bg-soft); color:var(--ink); font-weight:700; }
.spec-table td { color:var(--muted); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom:0; }
.feature-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:12px; }
.feature-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px 24px; }
.feature-card .ico { width:50px; height:50px; border-radius:12px; background:linear-gradient(135deg,var(--blue),var(--aqua)); display:grid; place-items:center; color:#fff; font-size:22px; margin-bottom:14px; }
.feature-card h4 { font-size:17px; font-weight:700; margin-bottom:6px; }
.feature-card p { color:var(--muted); font-size:14.5px; }
.model-nav { display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
.model-nav a { padding:9px 18px; border-radius:999px; border:1.5px solid var(--line); font-size:14.5px; font-weight:600; color:var(--ink); transition:.15s; }
.model-nav a:hover { border-color:var(--blue); color:var(--blue); }
.model-nav a.active { background:var(--blue); color:#fff; border-color:var(--blue); }
.prod-badge { display:inline-block; padding:6px 14px; border-radius:999px; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.4); font-size:13.5px; font-weight:600; margin-bottom:16px; }
@media (max-width:900px){ .feature-cards{grid-template-columns:1fr;} .spec-table th{width:44%;} }

/* Product listing (products.html) */
.cat-label { font-size:13px; font-weight:800; letter-spacing:.06em; color:var(--blue); text-transform:uppercase; margin:8px 0 18px; }
.prod-list-card { display:flex; flex-direction:column; }
.prod-list-card .card__media { aspect-ratio:16/10; }
.prod-list-card .btn-text { margin-top:14px; font-weight:700; font-size:14.5px; color:var(--blue); display:inline-flex; align-items:center; gap:6px; }
.prod-list-card:hover .btn-text { gap:10px; }

/* ===== Contact ===== */
.contact-grid { display:grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items:start; }
.contact-info { display:grid; gap: 18px; }
.contact-item { display:flex; gap:16px; align-items:flex-start; }
.contact-item .ico { flex:0 0 46px; height:46px; border-radius:12px; background:var(--bg-soft); color:var(--blue); display:grid; place-items:center; font-size:20px; }
.contact-item h4 { font-size:16px; font-weight:700; }
.contact-item p { color:var(--muted); font-size:15px; }
.form { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:32px; box-shadow:var(--shadow); }
.form .row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { margin-bottom:18px; }
.field label { display:block; font-size:14px; font-weight:600; margin-bottom:7px; }
.field input, .field textarea { width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:10px; font:inherit; font-size:15px; transition:border-color .2s; background:#fff; }
.field input:focus, .field textarea:focus { outline:none; border-color:var(--blue); }
.field textarea { min-height:130px; resize:vertical; }
.map-embed { margin-top: 6px; border-radius: var(--radius); overflow: hidden; border:1px solid var(--line); box-shadow: var(--shadow); }
.map-embed iframe { display:block; width:100%; height:220px; border:0; }
.checkbox-group { display:flex; flex-wrap:wrap; gap:10px; }
.checkbox-group label { display:inline-flex; align-items:center; gap:7px; padding:9px 14px; border:1.5px solid var(--line); border-radius:999px; font-size:14px; font-weight:600; cursor:pointer; transition:.15s; margin:0; }
.checkbox-group label:hover { border-color:var(--blue); }
.checkbox-group input { width:auto; accent-color:var(--blue); }
.checkbox-group input:checked + span { color:var(--blue); }
.form-status { margin-top:14px; padding:12px 16px; border-radius:10px; font-size:14.5px; font-weight:600; display:none; }
.form-status.ok { display:block; background:#e8f6ee; color:#1a7f46; border:1px solid #bfe6cd; }
.form-status.err { display:block; background:#fdeaea; color:#c0392b; border:1px solid #f3c4c4; }

@media (max-width: 900px) { .contact-grid { grid-template-columns:1fr; } .form .row { grid-template-columns:1fr; } }

/* mobile menu */
.mobile-menu { display: none; position: fixed; inset: 72px 0 0; background: #fff; z-index: 99; padding: 24px; overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 4px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }

/* back to top */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff; border: none; display: grid; place-items: center;
  font-size: 20px; cursor: pointer; box-shadow: 0 8px 20px rgba(10,129,197,.35); z-index: 95;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dark); }
@media (max-width: 540px) { .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }
