/* ==========================================================
   FLOTTECAMION — Stylesheet
   Colors, spacing and type are defined as CSS variables below.
   Change values in :root to retheme the whole site.
========================================================== */

:root {
  /* Colors */
  --navy-950: #0a1626;
  --navy-900: #0f2440;
  --navy-800: #17334f;
  --navy-700: #234668;
  --blue-600: #3568b0;
  --blue-100: #e9f1fb;
  --gold-500: #c6a15b;
  --gold-600: #a9843f;
  --gray-50: #eef4fb;
  --gray-100: #e5edf8;
  --blue-50: #e8f1fc;
  --blue-25: #f3f8fe;
  --gray-200: #e1e5eb;
  --gray-400: #98a2b0;
  --gray-500: #6b7684;
  --gray-700: #3c4552;
  --ink: #101828;
  --white: #ffffff;

  /* Type */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-w: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 36, 64, 0.06), 0 1px 1px rgba(15, 36, 64, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 36, 64, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 36, 64, 0.12);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--ink);
  background-image: url('assets/bg-wave.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: var(--blue-600); }
a:hover { color: var(--navy-800); }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; font-size: 16px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-900); color: var(--white); padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: var(--radius-sm); }

:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

/* ---------- Typography ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; color: var(--navy-950); text-wrap: pretty; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.15rem; line-height: 1.35; }
p { color: var(--gray-700); }
.eyebrow {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 10px;
}
.section-subtitle { font-size: 1.05rem; color: var(--gray-500); max-width: 560px; margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--gold-500); color: var(--navy-950); box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--gold-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--gray-200); }
.btn-ghost:hover { background: var(--gray-50); border-color: var(--gray-400); transform: translateY(-1px); }

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; width: 100%;
  background: rgba(233,241,251,0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(233,241,251,0.92);
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 16px;
}
.logo { display: flex; align-items: center; gap: 9px; color: var(--navy-950); }
.logo:hover { color: var(--navy-950); }
.logo-mark { display: inline-flex; color: var(--gold-500); }
.logo-img-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); border-radius: 9px; padding: 3px; box-shadow: var(--shadow-sm);
}
.logo-img { width: 32px; height: 32px; border-radius: 6px; display: block; }
.logo-text { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }
.logo-text strong { font-weight: 700; }

.main-nav ul { display: flex; gap: 16px; }
.main-nav a { color: var(--navy-800); font-weight: 500; font-size: 0.86rem; position: relative; white-space: nowrap; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transition: transform 0.2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-primary { display: none; }

.menu-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; padding: 0;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-900); margin: 0 auto; transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white); transform: translateX(100%); transition: transform 0.3s ease;
    padding: 20px 24px 40px; overflow-y: auto; z-index: 99;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--gray-100); }
  .main-nav a::after { display: none; }
}
@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .header-actions .btn-primary { display: inline-flex; }
}

/* ---------- Scroll reveal ---------- */
[data-animate] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tinted { background: var(--gray-50); }
.section-head { max-width: 640px; margin-bottom: 48px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-100); color: var(--blue-600); flex-shrink: 0;
}
.icon-badge-lg { width: 50px; height: 50px; }

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 100px; position: relative; overflow: hidden;
  background-size: cover; background-position: center 30%; background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,22,38,0.92) 0%, rgba(10,22,38,0.82) 42%, rgba(10,22,38,0.45) 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; }
.hero-content { max-width: 620px; }
.eyebrow-light { color: var(--gold-500); }
.hero-heading-light { color: var(--white); }
.hero-subtitle-light { color: rgba(255,255,255,0.82); }
.hero-trust-light { color: rgba(255,255,255,0.6); }
.hero-content h1 { margin: 14px 0 18px; }
.hero-subtitle { font-size: 1.1rem; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-trust { font-size: 0.9rem; color: var(--gray-500); }

@media (min-width: 960px) {
  .hero { padding: 150px 0 130px; }
}

/* ---------- Image placeholders ---------- */
.img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 32px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255,255,255,0.28);
  font-size: 0.85rem; line-height: 1.5;
}
.img-placeholder code { background: rgba(255,255,255,0.14); padding: 2px 6px; border-radius: 4px; font-size: 0.8rem; }
.hero-img-placeholder { aspect-ratio: 4 / 3; }
.about-img-placeholder { aspect-ratio: 4 / 5; }
.about-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------- Feature cards ---------- */
.feature-card {
  background: linear-gradient(160deg, var(--white) 55%, var(--blue-25) 100%); border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 28px 24px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gray-200); }
.feature-card h3 { margin: 16px 0 8px; }
.feature-card p { font-size: 0.95rem; }

/* ---------- Service cards ---------- */
.service-card {
  background: linear-gradient(160deg, var(--white) 55%, var(--blue-25) 100%); border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 30px 26px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card h3 { margin: 18px 0 8px; }
.service-card p { font-size: 0.95rem; margin-bottom: 14px; }
.card-link { font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 4px; }
.card-link span { transition: transform 0.2s ease; }
.card-link:hover span { transform: translateX(3px); }

/* ---------- Process ---------- */
.process-grid { position: relative; }
.process-step { padding: 8px 4px; }
.process-number {
  display: inline-block; font-size: 1.6rem; font-weight: 800; color: var(--gold-500);
  margin-bottom: 10px; font-variant-numeric: tabular-nums;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: linear-gradient(160deg, var(--white) 55%, var(--blue-25) 100%); border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 30px 26px; position: relative;
}
.stars { color: var(--gold-500); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-quote { font-style: italic; color: var(--gray-500); margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar-initial {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: var(--white); font-weight: 700; font-size: 0.95rem;
}
.author-name { font-weight: 600; font-size: 0.92rem; color: var(--navy-900); }
.author-role { font-size: 0.85rem; color: var(--gray-500); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-content p { margin-bottom: 16px; }
.about-list { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.about-list li { position: relative; padding-left: 26px; font-size: 0.96rem; color: var(--gray-700); }
.about-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.placeholder-note { font-size: 0.86rem; color: var(--gray-400); font-style: italic; border-top: 1px dashed var(--gray-200); padding-top: 16px; margin-top: 8px; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
}

/* ---------- CTA ---------- */
.cta-section { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); padding: 88px 0; }
.cta-inner { max-width: 620px; text-align: center; margin: 0 auto; }
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: rgba(255,255,255,0.72); margin: 16px 0 30px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
.contact-details { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.contact-details li { display: flex; align-items: center; gap: 14px; }
.detail-label { display: block; font-size: 0.8rem; color: var(--gray-500); }
.detail-value { display: block; font-weight: 600; color: var(--navy-900); }

.contact-form { background: linear-gradient(160deg, var(--blue-50) 0%, var(--gray-50) 100%); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row-group { display: grid; gap: 18px; grid-template-columns: 1fr; }
.form-row label { font-size: 0.88rem; font-weight: 600; color: var(--navy-900); }
.form-row input, .form-row textarea {
  padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  background: var(--blue-25); color: var(--ink); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-100); outline: none; }
.form-row textarea { resize: vertical; }
.form-row-checkbox { flex-direction: row; align-items: flex-start; gap: 10px; }
.form-row-checkbox input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue-600); }
.form-row-checkbox label { font-weight: 400; font-size: 0.88rem; color: var(--gray-500); }
.form-status { font-size: 0.88rem; min-height: 1.2em; }
.form-status--success { color: #1d7a4c; }
.form-status--warning { color: var(--gold-600); }
.form-status--error { color: #b3382c; }

@media (min-width: 640px) { .form-row-group { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.logo-light { color: var(--white); }
.footer-inner { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { color: rgba(255,255,255,0.55); margin-top: 14px; font-size: 0.92rem; max-width: 280px; }
.footer-col h3 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-col a { color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding: 22px 0; font-size: 0.85rem; color: rgba(255,255,255,0.45); }

@media (min-width: 640px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
