/* ============================================================
   Baeza's Total Solution Services — style.css
   Re-theme the WHOLE site by editing the variables below.
   ============================================================ */

/* ---------- Theme variables (edit here) ---------- */
:root {
  /* Fonts */
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; /* headings */
  --font-main: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;      /* body */
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;     /* labels / nav */

  /* Brand colors */
  --navy-900: #0e2c4f;   /* deepest navy */
  --navy-800: #143C6D;   /* Navy Blue (primary) */
  --navy-700: #1C63A2;   /* Medium Blue (secondary / hover) */
  --accent:      #629A44; /* Landscape Green (CTAs / accents) */
  --accent-soft: #7FB35D; /* lighter green */
  --accent-hover:#4d7d34; /* deep green (hover) */
  --gold:        #D4944E; /* Paver Tan/Gold (highlights) */

  /* Neutrals */
  --cream:     #ffffff;   /* page background */
  --cream-2:   #f4f6f8;   /* alt background */
  --ink:       #143C6D;   /* heading color */
  --ink-soft:  #333333;   /* body text (Slate Gray) */
  --white:     #ffffff;
  --line:      rgba(20, 60, 109, 0.14);

  /* Layout */
  --nav-height: 76px;
  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(8, 20, 38, 0.10);
  --shadow-lg: 0 30px 80px rgba(8, 20, 38, 0.18);
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { width: 100%; max-width: 100%; }
body {
  font-family: var(--font-main);
  color: var(--ink-soft);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  opacity: 0;
  transition: opacity 0.5s ease;
  -webkit-font-smoothing: antialiased;
}
body.loaded { opacity: 1; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 800; line-height: 1.15; color: var(--navy-800);
  text-transform: uppercase; letter-spacing: 0.01em;
}

.section { padding: 50px 24px; }
.container { max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  display: inline-block; font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--navy-700); margin-bottom: 18px;
}
.section__title { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 20px; letter-spacing: -0.01em; }
.section__lead { max-width: 640px; color: var(--ink-soft); font-size: 1.08rem; text-transform: none; letter-spacing: normal; }
.section__head { margin-bottom: 56px; }
.section__head--center { text-align: center; }
.section__head--center .section__lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 34px;
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 700; letter-spacing: 0.04em;
  border-radius: 50px; border: 1.5px solid transparent; cursor: pointer;
  text-transform: uppercase;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--white); box-shadow: 0 10px 30px rgba(98, 154, 68, 0.35); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--gold { background: var(--gold); color: var(--white); box-shadow: 0 10px 30px rgba(212, 148, 78, 0.35); }
.btn--gold:hover { background: #b87735; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { border-color: var(--accent-soft); color: var(--accent-soft); }
.btn--dark { background: var(--navy-800); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); }
.btn--outline-dark { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--outline-dark:hover { background: var(--navy-800); color: var(--white); }
/* Email addresses read better in their normal case than uppercased */
[data-contact="email"] { text-transform: none; letter-spacing: normal; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; z-index: 1000;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  box-shadow: 0 2px 18px rgba(20,60,109,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled { background: rgba(255,255,255,0.98); box-shadow: 0 4px 24px rgba(20,60,109,0.16); }
.navbar__logo { display: flex; align-items: center; gap: 12px; }
.navbar__logo-img { height: 52px; width: auto; flex-shrink: 0; display: block; }
.navbar__name { font-family: var(--font-display); color: var(--navy-800); font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.navbar__links { display: flex; align-items: center; gap: 30px; }
.navbar__links a { font-family: var(--font-sans); color: var(--navy-800); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; position: relative; transition: color var(--transition); }
.navbar__links a:not(.navbar__cta)::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width var(--transition); }
.navbar__links a:not(.navbar__cta):hover::after, .navbar__links a.is-active:not(.navbar__cta)::after { width: 100%; }
.navbar__links a:hover { color: var(--navy-700); }
.navbar__cta { padding: 9px 22px; border-radius: 50px; background: var(--accent); color: var(--white) !important; font-weight: 700; white-space: nowrap; transition: background var(--transition), transform var(--transition); }
.navbar__cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1100; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--navy-800); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   LOGO BAND (white strip between navbar and hero)
   ============================================================ */
.logo-band { background: #fff; display: flex; justify-content: center; align-items: center; padding: calc(var(--nav-height) + 20px) 24px 20px; }
.logo-band img { max-width: 420px; width: 100%; display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; display: flex; align-items: center;
  padding: 50px 24px 50px;
  background:
    radial-gradient(1200px 600px at 78% 20%, rgba(98,154,68,0.20), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(28,99,162,0.45), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%); opacity: 0.5;
}
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__status { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: 50px; margin-bottom: 24px; background: rgba(98,154,68,0.16); border: 1px solid rgba(98,154,68,0.4); color: var(--accent-soft); font-size: 0.82rem; font-weight: 600; }
.hero__status .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,0.2); }
.hero__title { color: var(--white); font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.01em; margin-bottom: 22px; }
.hero__title .accent { color: var(--accent-soft); }
.hero__sub { color: rgba(255,255,255,0.82); font-size: 1.15rem; max-width: 640px; margin: 0 auto 20px; text-transform: none; letter-spacing: normal; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.hero__meta { display: flex; gap: 26px; margin-top: 42px; flex-wrap: wrap; justify-content: center; }
.hero__meta-item { color: rgba(255,255,255,0.68); font-size: 0.86rem; display: flex; align-items: center; gap: 8px; }
.hero__meta-item i { color: var(--accent-soft); }

/* Curved "arch" divider under hero — echoes the logo's arch */
.arch-divider { position: relative; height: 60px; margin-top: -1px; background: var(--cream); }
.arch-divider svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy-800); padding: 26px 24px; }
.trust__inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 40px; }
.trust__logo { color: rgba(255,255,255,0.88); font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.02em; }
.trust__logo i { color: var(--accent-soft); }

/* ============================================================
   CARD GRID (Services)
   ============================================================ */
.grid { display: grid; gap: 25px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(98,154,68,0.45); }
.card__icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(98,154,68,0.20), rgba(98,154,68,0.07)); color: var(--accent-hover); font-size: 1.35rem; margin-bottom: 20px; }
.card__icon--img { width: 80px; height: 80px; background: transparent; border-radius: 0; }
.card__icon--img img { width: 100%; height: 100%; object-fit: contain; }
.card__title { font-size: 1.2rem; margin-bottom: 12px; }
.card__text { color: var(--ink-soft); font-size: 0.98rem; text-transform: none; }

/* Dark section variant */
.section--dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); position: relative; overflow: hidden; }
.section--dark::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 360px at 50% 0%, rgba(98,154,68,0.18), transparent 60%);
}
.section--dark .section__title, .section--dark h2, .section--dark h1 { color: var(--white); }
.section--dark .section__lead, .section--dark p { color: rgba(255,255,255,0.8); }
.section--dark .eyebrow { color: var(--accent-soft); }
.section--dark .container { position: relative; z-index: 1; }

/* ============================================================
   CONTACT OPTIONS
   ============================================================ */
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 46px; }
.opt {
  text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 24px; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.opt:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(98,154,68,0.45); }
.opt i { font-size: 1.9rem; color: var(--accent-hover); margin-bottom: 16px; }
.opt h3 { font-size: 1.15rem; margin-bottom: 8px; }
.opt p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 14px; text-transform: none; }
.opt .btn { width: 100%; justify-content: center; padding: 13px 18px; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta { position: relative; text-align: center; padding: 92px 24px; overflow: hidden; background: radial-gradient(800px 400px at 50% 0%, rgba(98,154,68,0.20), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-900)); }
.cta h2 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 18px; }
.cta p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 34px; font-size: 1.08rem; text-transform: none; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

.footer { background: var(--navy-900); color: rgba(255,255,255,0.7); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 60px 24px 40px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 50px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer__logo-wrap { background: var(--white); border-radius: var(--radius-sm); padding: 8px 14px; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.footer__logo-img { height: 56px; width: auto; display: block; }
.footer__tagline { color: rgba(255,255,255,0.65); font-size: 0.95rem; max-width: 280px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.footer__col h4 { font-family: var(--font-sans); font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 16px; }
.footer__col a { display: block; color: rgba(255,255,255,0.7); font-size: 0.94rem; margin-bottom: 10px; transition: color var(--transition); overflow-wrap: anywhere; word-break: break-word; text-transform: none; }
.footer__col a:hover { color: var(--accent-soft); }
.footer__col p { color: rgba(255,255,255,0.6); font-size: 0.94rem; margin-bottom: 10px; text-transform: none; }
.footer__icons { display: flex; gap: 12px; margin-top: 6px; }
.footer__icons a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.75); font-size: 1rem; transition: background var(--transition), color var(--transition), transform var(--transition); }
.footer__icons a:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.footer__bar { border-top: 1px solid rgba(255,255,255,0.08); }
.footer__text { max-width: var(--maxw); margin: 0 auto; padding: 22px 24px; font-size: 0.85rem; color: rgba(255,255,255,0.45); text-align: center; text-transform: none; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,0.61,0.36,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .grid--3, .opts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .navbar { padding: 0 20px; }
  .navbar__name { display: none; }
  .hamburger { display: flex; }
  .navbar__links {
    position: fixed; inset: 0 0 0 auto; width: min(78%, 320px); height: 100vh;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    padding: 40px; background: var(--navy-900);
    transform: translateX(100%); transition: transform var(--transition); box-shadow: -10px 0 40px rgba(0,0,0,0.4);
  }
  .navbar__links.open { transform: translateX(0); }
  .navbar__links a { font-size: 1.1rem; color: rgba(255,255,255,0.86); }
  .navbar__links a:hover { color: var(--white); }
  .section { padding: 50px 20px; }
  .grid--3, .grid--2, .opts { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
