/* ============================================================
   Gitardor Energy — design system
   A Gitardor Limited brand. Warm, premium solar aesthetic.
   ============================================================ */

:root {
  --ink:        #14130F;   /* warm near-black            */
  --charcoal:   #1B1A15;   /* dark section background    */
  --charcoal-2: #232118;
  --solar:      #FDB813;   /* bright solar yellow        */
  --solar-lt:   #FFCF45;
  --amber:      #F59E0B;
  --gold:       #C5973A;   /* Gitardor brand gold        */
  --gold-lt:    #E2B96A;
  --cream:      #FBFAF5;
  --cream-2:    #F4F0E6;
  --paper:      #FFFFFF;
  --text:       #1F1E1A;
  --text-soft:  #55534C;
  --muted:      #8A887E;
  --line:       rgba(20,19,15,0.10);
  --line-soft:  rgba(20,19,15,0.06);
  --on-dark:    #FBFAF5;
  --on-dark-soft: rgba(251,250,245,0.62);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Josefin Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 18px 50px -24px rgba(20,19,15,0.30);
  --shadow-sm: 0 6px 22px -12px rgba(20,19,15,0.25);
  --ring:      0 0 0 4px rgba(253,184,19,0.18);
  --maxw:      1180px;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; color: var(--text); }

::selection { background: var(--solar); color: var(--ink); }

/* ── Layout helpers ─────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--dark  { background: var(--charcoal); color: var(--on-dark); position: relative; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: linear-gradient(90deg, var(--solar), var(--gold)); border-radius: 2px; }
.section--dark .eyebrow { color: var(--solar-lt); }

.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 18px 0 16px; }
.section-intro { font-size: 1.05rem; color: var(--text-soft); line-height: 1.8; }
.section--dark .section-intro { color: var(--on-dark-soft); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  padding: 15px 30px; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--solar { background: linear-gradient(135deg, var(--solar), var(--amber)); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(245,158,11,0.6); }
.btn--solar:hover { box-shadow: 0 18px 40px -12px rgba(245,158,11,0.7); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--charcoal); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: rgba(251,250,245,0.10); color: var(--on-dark); border-color: rgba(251,250,245,0.22); }
.btn--light:hover { background: rgba(251,250,245,0.18); }

/* ── Header / Nav ───────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,250,245,0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--font-display); font-size: 23px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.logo .logo-mark { width: auto; height: 38px; flex-shrink: 0; object-fit: contain; align-self: center; }
.logo em { font-style: italic; color: var(--gold); }
.logo b { font-weight: 600; font-size: 12px; font-family: var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-soft); position: relative; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--solar); border-radius: 2px; transition: width 0.25s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s var(--ease); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; background: radial-gradient(120% 130% at 78% -10%, #3a3320 0%, #211f17 42%, #16140f 100%); color: var(--on-dark); overflow: hidden; }
.hero::before { /* glowing sun */ content: ''; position: absolute; top: -130px; right: -90px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(253,184,19,0.55) 0%, rgba(245,158,11,0.18) 38%, transparent 66%); filter: blur(6px); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(22,20,15,0.6) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; padding: 92px 0 104px; }
.hero .eyebrow { color: var(--solar-lt); }
.hero-title { color: var(--on-dark); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; margin: 22px 0 24px; }
.hero-title .accent { color: var(--solar); font-style: italic; }
.hero-sub { font-size: 1.16rem; color: var(--on-dark-soft); max-width: 520px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 46px; padding-top: 30px; border-top: 1px solid rgba(251,250,245,0.12); }
.hero-trust div { font-size: 13.5px; color: var(--on-dark-soft); display: flex; align-items: center; gap: 9px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--solar); flex-shrink: 0; }

/* Hero visual (solar panel + sun illustration) */
.hero-visual { position: relative; }
.hero-visual .panel-card { background: linear-gradient(160deg, rgba(251,250,245,0.07), rgba(251,250,245,0.02)); border: 1px solid rgba(251,250,245,0.14); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.hero-visual svg { width: 100%; height: auto; }
.hero-spec { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.hero-spec .spec { flex: 1; text-align: center; padding: 14px 8px; background: rgba(251,250,245,0.05); border: 1px solid rgba(251,250,245,0.1); border-radius: 12px; }
.hero-spec .spec b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--solar); line-height: 1; }
.hero-spec .spec span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-soft); }

/* ── Services ───────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 32px 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: linear-gradient(var(--solar), var(--amber)); transform: scaleY(0); transform-origin: top; transition: transform 0.3s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleY(1); }
.service-icon { width: 56px; height: 56px; border-radius: 15px; background: linear-gradient(140deg, rgba(253,184,19,0.16), rgba(245,158,11,0.10)); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon svg { width: 28px; height: 28px; color: var(--amber); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-card p { font-size: 0.96rem; color: var(--text-soft); line-height: 1.75; }

/* ── Why us ─────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 48px; }
.why-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(251,250,245,0.1); }
.why-item .why-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--solar); flex-shrink: 0; width: 38px; }
.why-item h3 { font-size: 1.25rem; margin-bottom: 7px; color: var(--on-dark); }
.why-item p { font-size: 0.95rem; color: var(--on-dark-soft); line-height: 1.7; }

/* ── Process steps ──────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; background: var(--cream); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.step .step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--solar); font-family: var(--font-display); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-soft); line-height: 1.65; }

/* ── About split ────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy p { color: var(--text-soft); margin-bottom: 18px; line-height: 1.85; }
.about-copy p:last-child { margin-bottom: 0; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stat { background: var(--charcoal); color: var(--on-dark); border-radius: var(--radius); padding: 30px 26px; }
.about-stat b { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--solar); line-height: 1; margin-bottom: 8px; }
.about-stat span { font-size: 0.9rem; color: var(--on-dark-soft); }

/* ── CTA band ───────────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--solar) 0%, var(--amber) 100%); color: var(--ink); border-radius: var(--radius-lg); padding: 58px 56px; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; box-shadow: var(--shadow); }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--ink); max-width: 640px; }
.cta-band p { margin-top: 10px; color: rgba(20,19,15,0.72); font-size: 1.02rem; }

/* ── Contact ────────────────────────────────────────────── */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 34px 30px; text-align: center; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.contact-icon { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(140deg, rgba(253,184,19,0.18), rgba(245,158,11,0.10)); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.contact-icon svg { width: 28px; height: 28px; color: var(--amber); }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.contact-card a, .contact-card p { font-size: 1rem; color: var(--text-soft); word-break: break-word; }
.contact-card a:hover { color: var(--amber); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--on-dark); }
.footer-stripe { height: 3px; background: linear-gradient(90deg, transparent, var(--solar) 40%, var(--gold) 60%, transparent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 50px; padding: 64px 0 40px; }
.footer-brand .logo { color: var(--on-dark); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--on-dark-soft); line-height: 1.8; max-width: 290px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(251,250,245,0.4); margin-bottom: 18px; font-family: var(--font-body); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: rgba(251,250,245,0.62); transition: color 0.2s; }
.footer-col a:hover { color: var(--solar); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 24px 0 40px; border-top: 1px solid rgba(251,250,245,0.1); }
.footer-bottom .copy { font-size: 13px; color: rgba(251,250,245,0.4); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(251,250,245,0.07); border: 1px solid rgba(251,250,245,0.12); display: flex; align-items: center; justify-content: center; transition: background 0.25s, transform 0.25s, border-color 0.25s; }
.footer-socials a:hover { background: var(--solar); border-color: var(--solar); transform: translateY(-3px); }
.footer-socials a:hover svg { color: var(--ink); }
.footer-socials svg { width: 17px; height: 17px; color: rgba(251,250,245,0.7); transition: color 0.25s; }

/* ── Legal pages ────────────────────────────────────────── */
.legal-hero { background: var(--charcoal); color: var(--on-dark); padding: 84px 0 64px; position: relative; overflow: hidden; }
.legal-hero::before { content: ''; position: absolute; top: -120px; right: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(253,184,19,0.3), transparent 65%); }
.legal-hero .container { position: relative; z-index: 2; }
.legal-hero h1 { color: var(--on-dark); font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 16px 0 12px; }
.legal-hero p { color: var(--on-dark-soft); font-size: 1rem; }
.legal-wrap { padding: 72px 0 96px; }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content > p.lead { font-size: 1.1rem; color: var(--text-soft); margin-bottom: 36px; line-height: 1.85; }
.legal-content h2 { font-size: 1.7rem; margin: 44px 0 14px; padding-top: 8px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 1.2rem; margin: 26px 0 10px; color: var(--text); }
.legal-content p { color: var(--text-soft); margin-bottom: 16px; line-height: 1.85; }
.legal-content ul { margin: 0 0 18px 4px; padding-left: 22px; }
.legal-content li { color: var(--text-soft); margin-bottom: 10px; line-height: 1.8; }
.legal-content a { color: var(--amber); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-divider { height: 1px; background: var(--line); margin: 40px 0; border: 0; }
.legal-note { background: var(--cream-2); border-left: 4px solid var(--solar); border-radius: 10px; padding: 22px 26px; margin: 28px 0; }
.legal-note p { margin: 0; color: var(--text-soft); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 76px; }
  .hero-visual { max-width: 460px; }
  .services-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 70px 0; }
  .container { padding: 0 20px; }
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 0; transform: translateY(-130%); transition: transform 0.32s var(--ease); box-shadow: var(--shadow); }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 15px 28px; }
  .nav-links a::after { display: none; }
  .menu-toggle { display: flex; }
  .nav-right .btn--solar { display: none; }
  .services-grid, .contact-cards, .steps, .about-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-band { padding: 40px 30px; flex-direction: column; align-items: flex-start; text-align: left; }
  .section-head { margin-bottom: 40px; }
}
