/* ============================================================
   Brightwork Yacht Care — shared site styles
   Same palette and design language as the app: navy + chrome/silver,
   with a flat steel-blue for smaller UI states. No other colours.
   ============================================================ */

:root {
  --navy: #132A47;
  --navy-deep: #0D1E33;
  --steel: #3D5A80;
  --silver: #C7CFDA;
  --white: #FFFFFF;
  --cloud: #F2F4F8;
  --ink: #1C2126;
  --muted: #5B6472;
  --success: #12B76A;
  --danger: #D64545;
  --line: rgba(19, 42, 71, 0.12);
  --chrome: linear-gradient(135deg, #F5F6F8 0%, #C7CFDA 52%, #8A94A3 100%);
  --shadow-lg: 0 20px 45px rgba(19, 42, 71, 0.16);
  --shadow-sm: 0 10px 24px rgba(19, 42, 71, 0.10);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
p { margin: 0; line-height: 1.65; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel); margin: 0 0 10px;
}
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--cloud { background: var(--cloud); }
.section--navy { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.center { text-align: center; }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 640px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--chrome { background: var(--chrome); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn--outline-navy { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn--block { width: 100%; justify-content: center; }
.btn--steel { background: var(--steel); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--navy); letter-spacing: -0.02em; }
.brand-badge {
  width: 36px; height: 36px; border-radius: 11px; background: var(--chrome);
  display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 16px; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.nav-links a:hover { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { padding: 76px 0 100px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 46px; line-height: 1.08; color: var(--white); margin-bottom: 18px; }
.hero p.lead { color: rgba(255,255,255,0.85); }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 0; margin-top: 44px; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; }
.hero-stat { flex: 1; }
.hero-stat b { display: block; font-size: 26px; color: var(--white); }
.hero-stat span { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

.hero-visual {
  border-radius: 28px; overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(160deg, #1c3a5e 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center; position: relative; box-shadow: var(--shadow-lg);
}
.hero-visual .placeholder-label { color: rgba(255,255,255,0.5); font-size: 13px; letter-spacing: 0.04em; }

/* Placeholder photo tiles — for real work photos once available */
.photo-slot {
  border-radius: var(--radius-sm); overflow: hidden; position: relative;
  background: linear-gradient(160deg, #1c3a5e 0%, var(--navy-deep) 100%);
  display: flex; align-items: flex-end; min-height: 220px; padding: 18px;
}
.photo-slot::before {
  content: '\2726'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
  font-size: 28px; color: rgba(255,255,255,0.28);
}
.photo-slot-cap { position: relative; color: var(--white); font-size: 13px; font-weight: 600; }
.photo-slot-cap small { display: block; color: rgba(255,255,255,0.55); font-weight: 500; margin-top: 2px; }

/* Cards & grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--cloud); border-radius: var(--radius-sm); padding: 26px;
}
.card--white { background: var(--white); box-shadow: var(--shadow-sm); }
.icon-badge {
  width: 52px; height: 52px; border-radius: 15px; background: var(--chrome);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 20px; color: var(--navy);
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; padding: 6px 13px; border-radius: 999px;
  background: var(--navy); color: var(--white); margin-top: 14px;
}

/* Stat card that overlaps hero, like the app */
.stat-float {
  background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg);
  display: flex; padding: 28px; margin-top: -64px; position: relative; z-index: 2;
}
.stat-float .hero-stat b { color: var(--navy); font-size: 30px; }
.stat-float .hero-stat span { color: var(--muted); }
.stat-float .hero-stat { text-align: center; border-left: 1px solid var(--line); }
.stat-float .hero-stat:first-child { border-left: none; }

/* Membership */
.plan-toggle { display: inline-flex; background: var(--cloud); border-radius: 999px; padding: 4px; margin: 20px 0 36px; }
.plan-toggle button {
  border: none; background: none; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 14px;
  color: var(--ink); cursor: pointer;
}
.plan-toggle button.active { background: var(--navy); color: var(--white); }
.size-row { display: flex; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.size-chip {
  border: none; background: var(--cloud); padding: 11px 20px; border-radius: 12px; font-weight: 700; font-size: 13.5px;
  cursor: pointer; color: var(--ink);
}
.size-chip.active { background: var(--navy); color: var(--white); }
.plan-card {
  background: var(--navy); border-radius: var(--radius); padding: 32px; color: var(--white);
}
.plan-card h3 { color: var(--silver); font-size: 20px; margin-bottom: 8px; }
.plan-card .price { font-size: 34px; font-weight: 800; margin: 18px 0 4px; }
.plan-card .price span { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.55); }
.plan-card ul { margin: 20px 0; }
.plan-card li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.plan-card li::before { content: '\2713'; color: var(--silver); font-weight: 800; flex-shrink: 0; }

/* Testimonials */
.quote-card { background: var(--cloud); border-radius: var(--radius-sm); padding: 26px; }
.quote-card p.quote { font-style: italic; font-size: 15.5px; line-height: 1.6; margin-bottom: 16px; }
.quote-card .who { font-weight: 700; font-size: 14px; color: var(--navy); }
.quote-card .who span { color: var(--muted); font-weight: 500; }

/* Forms */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label.field { display: block; margin-bottom: 18px; }
label.field span.lbl {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
input, textarea, select {
  width: 100%; border: none; background: var(--cloud); border-radius: 12px; padding: 14px 16px;
  font-size: 15px; font-family: inherit; color: var(--ink);
}
textarea { resize: vertical; min-height: 110px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--steel); outline-offset: 1px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  border: none; background: var(--cloud); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 13.5px;
  cursor: pointer; color: var(--ink);
}
.chip.active { background: var(--navy); color: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.service-pick {
  border: none; background: var(--cloud); border-radius: 14px; padding: 16px; text-align: left; cursor: pointer;
}
.service-pick.active { background: var(--navy); color: var(--white); }
.service-pick .icon-badge { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 10px; font-size: 15px; }
.service-pick span.name { font-size: 12.5px; font-weight: 700; line-height: 1.3; display: block; }

/* Contact rows */
.contact-list { background: var(--cloud); border-radius: var(--radius-sm); overflow: hidden; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-top: 1px solid rgba(19,42,71,0.06); }
.contact-row:first-child { border-top: none; }
.contact-row .ico { width: 38px; height: 38px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Login / account */
.auth-card { max-width: 440px; margin: 0 auto; }
.role-pick {
  width: 100%; text-align: left; border: none; border-radius: var(--radius-sm); padding: 22px; margin-bottom: 14px; cursor: pointer;
}
.role-pick--customer { background: var(--cloud); }
.role-pick--team { background: var(--navy); color: var(--white); }
.role-pick h4 { font-size: 15px; margin-bottom: 4px; }
.role-pick--customer h4 { color: var(--navy); }
.role-pick--team h4 { color: var(--silver); }
.role-pick p { font-size: 13.5px; color: var(--muted); }
.role-pick--team p { color: rgba(255,255,255,0.75); }

/* FAQ */
details.faq { background: var(--cloud); border-radius: var(--radius-sm); padding: 20px 22px; margin-bottom: 12px; }
details.faq summary { font-weight: 700; font-size: 15px; cursor: pointer; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 20px; color: var(--steel); font-weight: 400; }
details.faq[open] summary::after { content: '\2212'; }
details.faq p { margin-top: 14px; color: var(--muted); font-size: 14.5px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.65); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h5 { color: var(--white); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid a, .footer-grid p { display: block; font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,0.65); }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Notice banners */
.notice { border-radius: 12px; padding: 14px 18px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.notice--info { background: rgba(61,90,128,0.1); color: var(--steel); }
.notice--success { background: rgba(18,183,106,0.1); color: var(--success); }

/* Mobile */
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn--outline-navy { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); padding: 20px 24px 24px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .nav-links.open a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .grid-3, .grid-2, .form-row, .footer-grid, .service-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
}
