/* ============================================================
   SYLERO — Stylesheet
   Design: dark navy + off-white + warm gold accent
   ============================================================ */

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

:root {
  --navy:        #0a0f1e;
  --navy-mid:    #111829;
  --navy-light:  #1a2540;
  --gold:        #c8a96e;
  --gold-light:  #dfc08e;
  --white:       #f8f6f1;
  --off-white:   #edeae2;
  --muted:       #8a94a8;
  --border:      rgba(255,255,255,0.08);
  --border-dark: rgba(0,0,0,0.08);

  --font-sans:   'Inter', system-ui, sans-serif;
  --font-serif:  'DM Serif Display', Georgia, serif;

  --section-pad: clamp(4rem, 8vw, 7rem);
  --container:   1200px;
  --radius:      12px;
  --radius-sm:   6px;

  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--navy);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--navy); opacity: 0.8; }

em { font-style: italic; color: var(--gold); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.eyebrow--light { color: var(--gold-light); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease);
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200,169,110,0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
}

.btn--nav {
  background: var(--gold);
  color: var(--navy);
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}
.btn--nav:hover { background: var(--gold-light); }

.btn--full { width: 100%; justify-content: center; }

/* ── Section shared ── */
.section { padding: var(--section-pad) 0; }

.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--dark p { color: var(--white); opacity: 0.75; }
.section--dark h2 { color: var(--white); }

.section--subtle { background: var(--off-white); }

.section__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 620px;
}
.section__header h2 { margin-top: 0; }
.section__header--light h2 { color: var(--white); }

/* ================================================================
   NAV
================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}

.nav.scrolled {
  background: rgba(10,15,30,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.85rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 7rem 0 5rem;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__grid-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 40%, var(--navy) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.hero__heading {
  color: var(--white);
  margin-bottom: 1.75rem;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(248,246,241,0.7);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  opacity: 1;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ================================================================
   SERVICES
================================================================ */
.services { background: var(--white); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5px;
  background: var(--border-dark);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  position: relative;
  transition: background 0.25s var(--ease);
}

.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.6;
}

.service-card:hover { background: #fdfcfa; }

.service-card__icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.3rem;
}

.service-card p {
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  opacity: 0.75;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-card__list li {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}
.service-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ================================================================
   APPROACH
================================================================ */
.approach__steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2.5rem;
}

.approach__step {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.75rem;
}

.approach__step-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.approach__step h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.approach__step p {
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ================================================================
   WHY SYLERO
================================================================ */
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.why__text h2 { margin-bottom: 1.5rem; }

.why__text p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.why__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.pillar {
  padding: 1.75rem;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border-dark);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.pillar:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.pillar__icon {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.pillar h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.pillar p {
  font-size: 0.85rem;
  line-height: 1.65;
  opacity: 0.7;
}

/* ================================================================
   ABOUT
================================================================ */
.about__content {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.about__body p {
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
  opacity: 0.8;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border-dark);
  text-align: center;
}

.stat__number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ================================================================
   CONTACT
================================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact__text h2 { color: var(--white); margin-bottom: 1.25rem; }

.contact__text p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.contact__link {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s;
}
.contact__link:hover { color: var(--gold-light); }

.contact__location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form__row label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}

.form__row input,
.form__row textarea {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.93rem;
  color: var(--white);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  outline: none;
  resize: none;
}

.form__row input::placeholder,
.form__row textarea::placeholder { color: rgba(255,255,255,0.3); }

.form__row input:focus,
.form__row textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.09);
}

.form__note {
  font-size: 0.78rem;
  text-align: center;
  color: rgba(255,255,255,0.35) !important;
  opacity: 1 !important;
  margin-top: -0.25rem;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: #070c18;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer__tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}

.footer__nav {
  display: flex;
  gap: 2rem;
}

.footer__nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__nav a:hover { color: rgba(255,255,255,0.9); }

.footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__legal span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ================================================================
   SCROLL ANIMATIONS
================================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 900px) {
  .why__inner,
  .about__content,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .why__pillars { grid-template-columns: 1fr 1fr; }

  .about__stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .services__grid { grid-template-columns: 1fr; }

  .approach__steps { grid-template-columns: 1fr; }

  .why__pillars { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; align-items: flex-start; }

  .footer__nav { flex-wrap: wrap; gap: 1rem; }

  .footer__legal { flex-direction: column; gap: 0.4rem; }
}

@media (max-width: 640px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: min(300px, 80vw);
    background: var(--navy-mid);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: 1.75rem;
    transition: right 0.35s var(--ease);
    border-left: 1px solid var(--border);
    z-index: 99;
  }
  .nav__links.open { right: 0; }
  .nav__links a { font-size: 1.1rem; }
  .nav__burger { display: flex; z-index: 101; }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
