/* ============================================================
   COASTED LTD / munroe digital — Main Stylesheet
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0D1B2A;
  --navy-mid:   #122235;
  --teal:       #00C9A7;
  --blue:       #2E5BFF;
  --white:      #ffffff;
  --text:       #1a2b3c;
  --text-mid:   #3d5166;
  --text-light: #8fa8bc;
  --border:     rgba(255,255,255,0.08);
  --border-light: rgba(13,27,42,0.1);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --max-w: 1180px;
  --nav-h: 72px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--navy);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ---------- Parallax Background ---------- */
.parallax-bg {
  position: fixed;
  inset: 0;
  background-image: url('bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  z-index: 1;
  padding-block: clamp(64px, 9vw, 120px);
}

.section-light {
  background: rgba(8, 20, 35, 0.72);
  backdrop-filter: blur(2px);
}

.section-dark {
  background: rgba(5, 12, 22, 0.78);
  backdrop-filter: blur(2px);
}

.section-header {
  max-width: 680px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.section-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

.section-lead-light {
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover {
  background: #00b397;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,201,167,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }

.btn-outline-light {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid rgba(0,201,167,0.4);
  margin-top: auto;
}
.btn-outline-light:hover {
  border-color: var(--teal);
  background: rgba(0,201,167,0.08);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid var(--border-light);
}
.btn-ghost:hover { border-color: var(--text-mid); color: var(--text); }

.btn-sm { padding: 8px 18px; font-size: 14px; }

.btn-call {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid rgba(0,201,167,0.5);
}
.btn-call:hover {
  background: rgba(0,201,167,0.1);
  border-color: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,201,167,0.2);
}

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 18, 28, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.nav-logo { height: 44px; width: auto; object-fit: contain; }

.nav-site-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  opacity: 0.9;
}

.nav-links { display: flex; align-items: center; gap: 36px; }

.nav-links li a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: color var(--transition);
}
.nav-links li a:hover { color: var(--white); }
.nav-links li a.active { color: var(--teal); }

.nav-cta { padding: 9px 20px !important; font-size: 14px !important; }

.nav-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.68);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-phone-link:hover { color: var(--teal); }
.nav-phone-link svg { color: var(--teal); flex-shrink: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Call Strip ---------- */
.call-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(36px, 5vw, 56px);
  padding: 24px 32px;
  background: rgba(0,201,167,0.06);
  border: 1px solid rgba(0,201,167,0.2);
  border-radius: var(--radius-lg);
}
.call-strip p {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  line-height: 1.5;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  background: transparent;
}

.hero-inner { max-width: var(--max-w); }
.hero-content { max-width: 640px; }

.hero-content h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Why Us — Pillars ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.pillar {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}
.pillar:hover {
  background: rgba(255,255,255,0.12);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,201,167,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
}

.pillar h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.pillar p { font-size: 14.5px; color: rgba(255,255,255,0.68); line-height: 1.65; }

/* ---------- About Us ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.about-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.about-text h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.about-text p { font-size: 15px; color: rgba(255,255,255,0.68); line-height: 1.75; margin-bottom: 16px; }

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.about-stat { display: flex; flex-direction: column; gap: 4px; }
.about-stat-number { font-size: 28px; font-weight: 700; color: var(--teal); letter-spacing: -0.03em; line-height: 1; }
.about-stat-label { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.05em; }

.about-details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.about-detail-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.about-detail-card h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.about-detail-card p { font-size: 14px; color: rgba(255,255,255,0.62); line-height: 1.65; }

/* ---------- Services ---------- */
.services-currency-note { font-size: 13px; color: rgba(255,255,255,0.38); margin-top: 20px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.service-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,201,167,0.3);
  transform: translateY(-3px);
}

.service-number { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--teal); opacity: 0.7; }
.service-card h3 { font-size: 19px; font-weight: 700; color: var(--white); line-height: 1.3; letter-spacing: -0.01em; }
.service-card p { font-size: 14.5px; color: rgba(255,255,255,0.6); line-height: 1.65; flex: 1; }

.service-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Work / Cases ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.case-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}
.case-card:hover {
  background: rgba(255,255,255,0.12);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  transform: translateY(-3px);
}

.case-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,201,167,0.1);
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}
.case-card h3 { font-size: 17px; font-weight: 700; color: var(--white); line-height: 1.35; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.case-card p { font-size: 14.5px; color: rgba(255,255,255,0.68); line-height: 1.65; flex: 1; }
.case-meta { font-size: 13px; color: rgba(255,255,255,0.4); font-weight: 500; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); }

/* ---------- Testimonials ---------- */
.testimonials-header { margin-bottom: 36px; }
.testimonials-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(255,255,255,0.06);
}
.testimonial p { font-size: 15px; color: rgba(255,255,255,0.78); line-height: 1.7; font-style: italic; }
.testimonial p::before { content: '\201C'; }
.testimonial p::after  { content: '\201D'; }
.testimonial cite { display: flex; flex-direction: column; gap: 3px; font-style: normal; }
.testimonial cite strong { font-size: 14px; font-weight: 700; color: var(--white); }
.testimonial cite span { font-size: 13px; color: var(--text-light); }

/* ---------- Contact ---------- */
.contact-call-btn { margin-bottom: 8px; font-size: 16px; padding: 15px 28px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact-details { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-details li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,0.72); }
.contact-details li svg { color: var(--teal); flex-shrink: 0; }
.contact-details li a { color: rgba(255,255,255,0.72); transition: color var(--transition); }
.contact-details li a:hover { color: var(--teal); }

/* ---------- Contact Form ---------- */
.contact-form {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); letter-spacing: 0.02em; }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.28); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); background: rgba(255,255,255,0.09); }
.form-group select option { background: var(--navy-mid); color: var(--white); }

.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: rgba(255,255,255,0.38); }
.form-note a { color: rgba(255,255,255,0.55); text-decoration: underline; text-underline-offset: 3px; }
.form-note a:hover { color: var(--teal); }

.form-success {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.97);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 40px;
}
.form-success.visible { opacity: 1; pointer-events: auto; }
.form-success svg { color: var(--teal); }
.form-success h3 { font-size: 22px; font-weight: 700; color: var(--white); }
.form-success p { font-size: 15px; color: rgba(255,255,255,0.6); }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; background: rgba(8, 15, 24, 0.98); border-top: 1px solid var(--border); }

.footer-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(48px, 6vw, 80px);
  align-items: start;
}

.footer-brand { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.footer-logo { height: 44px; width: auto; object-fit: contain; }
.footer-site-name { font-size: 17px; font-weight: 600; color: var(--white); letter-spacing: -0.02em; opacity: 0.9; }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a,
.footer-col-contact p,
.footer-col-contact a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-col ul li a:hover,
.footer-col-contact a:hover { color: var(--teal); }
.footer-col-contact { display: flex; flex-direction: column; gap: 10px; }

.footer-bottom { border-top: 1px solid var(--border); padding-block: 24px; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 4px; }
.footer-bottom-inner p { font-size: 12.5px; color: rgba(255,255,255,0.3); }

.footer-legal-links { display: flex; gap: 20px; margin-top: 8px; }
.footer-legal-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--teal); }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: rgba(18, 34, 53, 0.97);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 680px;
  width: calc(100% - 40px);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}
.cookie-banner p { font-size: 13.5px; color: rgba(255,255,255,0.65); flex: 1; line-height: 1.5; }
.cookie-banner p a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(10, 18, 28, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { font-size: 22px; font-weight: 600; }
  .nav-cta { font-size: 22px !important; padding: 12px 28px !important; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 34px; }
}

@media (max-width: 480px) {
  .footer-legal-links { flex-direction: column; gap: 6px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}
