/* ===========================================================
   SHORESIDE SERVICES LTD — Design Tokens
   "The Horizon Is Our Limit"
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Color — sampled directly from brand logo */
  --brand-blue:      #4A5FD4;
  --brand-blue-dark: #36459E;
  --brand-coral:     #F2906F;
  --brand-coral-dark:#E07750;
  --ink:             #1E2333;
  --slate:           #7B85A3;
  --slate-light:      #AEB6CC;
  --white:           #FFFFFF;
  --mist:            #F4F6FC;
  --mist-border:     #E6E9F5;

  /* Type */
  --font-display: 'Poppins', sans-serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  --max-w: 1240px;
  --section-pad: 120px;
  --section-pad-mobile: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brand-coral);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===========================================================
   NAV
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 38px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-coral);
  border-radius: 2px;
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--brand-blue);
  padding: 12px 24px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.nav-cta:hover { background: var(--brand-blue-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--mist-border);
  padding: 8px 32px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--mist-border);
  color: var(--slate);
  font-size: 15px;
  font-weight: 500;
}
.mobile-menu a.active { color: var(--brand-coral); }
.mobile-menu .nav-cta {
  margin-top: 16px;
  text-align: center;
  display: block;
  border-bottom: none;
  color: var(--white) !important;
}

/* ===========================================================
   HERO — horizon composition, swoosh motif
   =========================================================== */
.hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 100px;
}

.hero-swoosh {
  position: absolute;
  top: -120px;
  /* right: -180px;
  width: 720px;
  height: 720px; */
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
}

@media (max-width: 760px) {
  .hero-swoosh { width: 460px; height: 460px; top: -80px; right: -200px; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-coral);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow .line {
  width: 28px;
  height: 2px;
  background: var(--brand-coral);
  border-radius: 2px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--brand-blue);
}

.hero-sub {
  margin-top: 26px;
  font-size: 18px;
  color: var(--slate);
  max-width: 540px;
  line-height: 1.65;
}

.hero-ctas {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--brand-blue-dark); transform: translateY(-1px); }

.btn-coral {
  background: var(--brand-coral);
  color: var(--white);
}
.btn-coral:hover { background: var(--brand-coral-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--mist-border);
}
.btn-ghost:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

/* tagline strip under hero */
.tagline-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--mist-border);
  border-bottom: 1px solid var(--mist-border);
  background: var(--mist);
}

.tagline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.tagline-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue-dark);
}

.tagline-dots {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.tagline-dots span {
  font-size: 13.5px;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tagline-dots span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-coral);
  display: inline-block;
}

/* ===========================================================
   SECTIONS
   =========================================================== */
section { padding: var(--section-pad) 0; }

@media (max-width: 760px) {
  section { padding: var(--section-pad-mobile) 0; }
}

.section-tint { background: var(--mist); }
.section-blue {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: var(--white);
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 640px;
}

.section-blue h2.section-title { color: var(--white); }

.section-intro {
  margin-top: 18px;
  font-size: 16.5px;
  max-width: 580px;
  color: var(--slate);
  line-height: 1.7;
}

.section-blue .section-intro { color: rgba(255,255,255,0.85); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* ===========================================================
   SERVICE CARDS
   =========================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cards-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--mist-border);
  border-radius: 18px;
  padding: 36px 30px;
  transition: all 0.25s ease;
}

.card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 16px 40px -16px rgba(74, 95, 212, 0.25);
  transform: translateY(-3px);
}

.card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.card svg { width: 26px; height: 26px; }

.card h3 {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

.card p {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.65;
}

/* ===========================================================
   STATS BAND
   =========================================================== */
.stats-band {
  background: var(--mist);
  border-top: 1px solid var(--mist-border);
  border-bottom: 1px solid var(--mist-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat {
  padding: 48px 28px;
  border-right: 1px solid var(--mist-border);
}
.stat:last-child { border-right: none; }

@media (max-width: 760px) {
  .stat:nth-child(2n) { border-right: none; }
  .stat { border-bottom: 1px solid var(--mist-border); }
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 40px);
  font-weight: 700;
  color: var(--ink);
}
.stat .num span { color: var(--brand-coral); }

.stat .desc {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--slate);
  font-weight: 500;
}

/* ===========================================================
   ROUTE / PROCESS
   =========================================================== */
.route-track {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}

.route-stop {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid var(--mist-border);
}

.route-stop:first-child { border-top: none; }

.route-coord {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-coral);
  padding-top: 4px;
  text-transform: uppercase;
}

.route-stop h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.route-stop p {
  color: var(--slate);
  font-size: 15px;
  max-width: 560px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .route-stop { grid-template-columns: 1fr; gap: 10px; }
}

/* ===========================================================
   CTA BAND
   =========================================================== */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  padding: 80px 0;
  overflow: hidden;
}

.cta-swoosh {
  position: absolute;
  right: -100px;
  top: -60px;
  width: 420px;
  height: 420px;
  opacity: 0.5;
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  color: var(--white);
  max-width: 540px;
  line-height: 1.2;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  background: var(--ink);
  color: var(--slate-light);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(1.15);
}

.footer-brand p {
  font-size: 14px;
  color: var(--slate-light);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-coral);
  margin-bottom: 18px;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: var(--slate-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: var(--slate);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===========================================================
   PAGE HEADER (About / Services / Contact)
   =========================================================== */
.page-header {
  background: var(--white);
  padding: 60px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-header-swoosh {
  position: absolute;
  top: -100px;
  right: -160px;
  width: 560px;
  height: 560px;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.page-header .inner { position: relative; z-index: 2; }

.page-header h1 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.12;
  max-width: 720px;
}

.page-header p {
  margin-top: 22px;
  font-size: 17px;
  color: var(--slate);
  max-width: 540px;
  line-height: 1.65;
}

/* ===========================================================
   ABOUT PAGE
   =========================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}

.value-item {
  padding: 26px 0;
  border-top: 1px solid var(--mist-border);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
}
.value-item:first-child { border-top: none; }

.value-item .vdot {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-item .vdot svg { width: 22px; height: 22px; }

.value-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.value-item p {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.65;
}

/* ===========================================================
   CONTACT PAGE
   =========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
}

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

.contact-info-item {
  padding: 22px 0;
  border-top: 1px solid var(--mist-border);
}
.contact-info-item:first-child { border-top: none; }

.contact-info-item .label {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-coral);
  margin-bottom: 8px;
}

.contact-info-item .val {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}

.form-panel {
  background: var(--mist);
  border: 1px solid var(--mist-border);
  padding: 44px;
  border-radius: 20px;
}

@media (max-width: 480px) {
  .form-panel { padding: 28px; }
}

.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--mist-border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  border-radius: 10px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-panel .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ===========================================================
   SERVICES PAGE — detail rows
   =========================================================== */
.service-detail {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  padding: 52px 0;
  border-top: 1px solid var(--mist-border);
}
.service-detail:first-child { border-top: none; }

@media (max-width: 760px) {
  .service-detail { grid-template-columns: 1fr; gap: 20px; }
}

.service-detail .sd-label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-detail .sd-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--mist-border);
}

.service-detail .sd-tag {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-coral);
}

.service-detail h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.service-detail p {
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 18px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-blue-dark);
  background: var(--mist);
  border: 1px solid var(--mist-border);
  padding: 7px 14px;
  border-radius: 999px;
}
