/* =============================================
   TAHAWUS TECHNOLOGY — STYLESHEET
   Colors & font inspired by git-scm.com
   ============================================= */

:root {
  /* Solarized Light */
  --green:      #268bd2;  /* sol-blue  — primary interactive */
  --green-dark: #1a6fa8;  /* darker blue */
  --green-light:#5ba8da;  /* lighter blue */
  --brown:      #cb4b16;  /* sol-orange */
  --gold:       #b58900;  /* sol-yellow — warm accent / labels */
  --gold-light: #c9a000;
  --cream:      #fdf6e3;  /* sol-base3  — main bg */
  --cream-dark: #eee8d5;  /* sol-base2  — bg highlight */
  --white:      #ffffff;
  --gray-100:   #f5f2e8;
  --gray-300:   #c3bdb5;
  --gray-500:   #657b83;  /* sol-base00 — body text */
  --gray-700:   #586e75;  /* sol-base01 — emphasized text */
  --dark:       #073642;  /* sol-base02 — headings / nav */

  --font-body:    'Source Sans 3', sans-serif;
  --font-heading: 'Source Sans 3', sans-serif;

  --radius:   8px;
  --radius-lg: 16px;
  --shadow:   0 2px 16px rgba(7,54,66,.08);
  --shadow-md:0 6px 32px rgba(7,54,66,.12);

  --nav-h: 96px;
  --section-py: 96px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--dark); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border: 2px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.7); }

.btn-full { width: 100%; }

/* ---- EYEBROW / LABELS ---- */
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--dark); margin-bottom: 16px; line-height: 1.2; }
.section-header p { font-size: 1.05rem; color: var(--gray-500); }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,.7); }

/* ====================================================
   HEADER / NAV
   ==================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(253,246,227,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-dark);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: -12px;
}
.nav-logo-icon {
  flex-shrink: 0;
  padding-right: 16px;
  margin-right: 16px;
  border-right: 1.5px solid var(--gray-300);
}
.nav-logo-icon img {
  height: 52px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo-text strong {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: .01em;
}
.nav-logo-text span {
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color .2s;
}
.nav-links a:not(.btn):hover { color: var(--green); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ====================================================
   HERO
   ==================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom left, var(--green) 0%, var(--green-dark) 25%, #073642 55%, #002b36 100%);
  z-index: 0;
}
.hero-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 38%;
  object-fit: cover;
  object-position: bottom center;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 80%, transparent 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-top: 48px;
  padding-bottom: 220px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
}
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  display: block;
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBob 1.6s ease-in-out infinite;
}
@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  60% { transform: translateX(-50%) translateY(10px); opacity: .3; }
}

/* ====================================================
   SECTORS STRIP
   ==================================================== */
.sectors-strip {
  background: var(--cream-dark);
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  padding: 16px 0;
}
.sectors-strip .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.sectors-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.sectors-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.sectors-list li {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 3px 18px;
  border-left: 1px solid var(--gray-300);
}
.sectors-list li:first-child {
  border-left: none;
  padding-left: 0;
}

/* ====================================================
   SERVICES
   ==================================================== */
.services {
  padding: var(--section-py) 0;
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--cream-dark);
  transition: box-shadow .25s, transform .25s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
  box-shadow: var(--shadow);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.service-card p { font-size: .95rem; color: var(--gray-500); line-height: 1.65; margin-bottom: 20px; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags li {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--green);
  background: rgba(38,139,210,.1);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ====================================================
   WHY US
   ==================================================== */
.why-us {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, #002b36 0%, #073642 50%, var(--green-dark) 100%);
}
.why-us .section-eyebrow { color: var(--gold); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.pillar {
  text-align: center;
  padding: 16px;
}
.pillar-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,.12);
  line-height: 1;
  margin-bottom: 12px;
}
.pillar h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.pillar p { font-size: .9rem; color: rgba(255,255,255,.7); line-height: 1.65; }

/* ====================================================
   ABOUT
   ==================================================== */
.about {
  padding: var(--section-py) 0;
  background: var(--cream);
}
.about-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}
.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 3px solid var(--gold);
  border-radius: calc(var(--radius-lg) + 6px);
  z-index: -1;
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.about-content .section-eyebrow { display: block; margin-bottom: 12px; }
.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.2rem);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 24px;
}
.about-content p {
  color: var(--gray-500);
  margin-bottom: 18px;
  line-height: 1.75;
}
.about-founder {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--cream-dark);
}
.about-founder div { display: flex; flex-direction: column; gap: 4px; }
.about-founder strong { font-size: 1rem; font-weight: 700; color: var(--dark); }
.about-founder span { font-size: .875rem; color: var(--gold); font-weight: 500; }

/* ====================================================
   CONTACT
   ==================================================== */
.contact {
  padding: var(--section-py) 0;
  background: var(--cream);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-eyebrow { display: block; margin-bottom: 12px; }
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.2rem);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}
.contact-info p { color: var(--gray-500); line-height: 1.75; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color .2s;
}
.contact-item:hover { color: var(--green); }
.contact-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); }

/* FORM */
.contact-form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--cream-dark);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--gray-700); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-300); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(38,139,210,.12);
}
.form-note { text-align: center; font-size: .8rem; color: var(--gray-500); margin-top: 12px; }

/* ====================================================
   FOOTER
   ==================================================== */
.site-footer {
  background: var(--dark);
  padding: 48px 0;
}
.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.45); margin-top: 10px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.footer-logo-icon {
  flex-shrink: 0;
  padding-right: 11px;
  margin-right: 11px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.footer-logo-icon img {
  height: 36px;
  width: auto;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.footer-logo-text strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  letter-spacing: .01em;
}
.footer-logo-text span {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: .9rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.3); width: 100%; text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-links .btn { width: 100%; justify-content: center; margin-top: 8px; }

  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .services-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .footer-layout { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}
