/* ============================================================
   Cedar Current — Main Stylesheet
   Brand palette applied via CSS custom properties throughout.
   Mobile-first, responsive, no framework dependencies.
   ============================================================ */

/* ---------- Google Font import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ---------- Custom properties ---------- */
:root {
  --color-primary:    #964A22;
  --color-deep:       #6F3514;
  --color-bright:     #C4722F;
  --color-dark:       #111111;
  --color-charcoal:   #1C1C1C;
  --color-ink:        #2A2A2A;
  --color-light:      #F7F5F2;
  --color-white:      #FFFFFF;
  --color-border:     #E4DDD6;
  --color-muted:      #7A6E65;

  --font-family: 'Poppins', sans-serif;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);

  --max-width: 1140px;
  --section-pad: 5rem 1.25rem;
  --transition: 0.2s ease;
}

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

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

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-ink);
  background: var(--color-light);
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-bright); }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-ink);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { max-width: 68ch; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .85rem;
  padding-left: .85rem;
  border-left: 3px solid var(--color-primary);
  line-height: 1;
}
.section-title { margin-bottom: 1rem; }
.section-intro {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 56ch;
  margin-bottom: 3rem;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: var(--section-pad); }

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-deep);
  border-color: var(--color-deep);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(150,74,34,.35);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}
.btn-light {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn-light:hover {
  background: var(--color-light);
  color: var(--color-deep);
  border-color: var(--color-light);
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.site-logo img {
  height: 68px;
  width: auto;
}
@media (max-width: 768px) {
  .header-inner { height: 76px; }
  .site-logo img { height: 54px; }
  .mobile-nav { top: 76px; }
}
.site-logo .logo-fallback {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -.02em;
}
.site-logo .logo-fallback span {
  color: var(--color-bright);
}

/* Desktop nav */
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-ink);
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.nav-cta { margin-left: .5rem; padding: .65rem 2.75rem !important; color: var(--color-white) !important; border-bottom: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; /* matches mobile header height */
  left: 0; right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 1.5rem 1.25rem 2rem;
  z-index: 99;
  flex-direction: column;
  gap: .25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-ink);
  padding: .6rem 0;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--color-primary); }
.mobile-nav .btn { margin-top: 1rem; text-align: center; justify-content: center; }
.mobile-nav .btn-primary { color: var(--color-white) !important; border-bottom: none !important; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav  { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-dark);
  color: #A09589;
  padding: 4rem 1.25rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto 3rem;
}
.footer-brand .logo-fallback {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1rem;
  display: block;
}
.footer-brand .logo-fallback span { color: var(--color-bright); }
.footer-brand p { font-size: .9rem; max-width: 36ch; }
.footer-tagline {
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--color-primary);
  margin-top: .5rem;
  font-weight: 600;
}
.footer-col h4 { color: var(--color-white); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: #A09589; font-size: .9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--color-bright); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #2A2A2A;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
}
.footer-bottom a { color: #A09589; }
.footer-bottom a:hover { color: var(--color-bright); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
  color: var(--color-white);
  padding: 6rem 1.25rem 5rem;
  position: relative;
  overflow: hidden;
  background-color: var(--color-dark);
  background-image: url('/assets/Img/cedarcurrenthome.png');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
/* Dark gradient overlay — ensures text is always legible over the photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(17,17,17,.88) 0%,
    rgba(17,17,17,.75) 55%,
    rgba(17,17,17,.45) 100%
  );
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-bright);
  margin-bottom: 1rem;
}
.hero h1 { color: var(--color-white); margin-bottom: 1.25rem; }
.hero h1 em {
  font-style: normal;
  color: var(--color-bright);
}
.hero-sub {
  font-size: 1.1rem;
  color: #C4B5AA;
  margin-bottom: 2rem;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 340px;
}
.hero-badge {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}
.hero-badge .badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .6rem;
}
.hero-badge .badge-label { font-size: .8rem; color: #C4B5AA; font-weight: 500; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
}

/* ============================================================
   HOME — SERVICES STRIP
   ============================================================ */
.services-strip {
  background: var(--color-white);
  padding: 4rem 1.25rem;
}
.services-strip .section-intro { margin-bottom: 2.5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-bright);
}
.service-card .card-icon {
  width: 52px;
  height: 52px;
  background: rgba(150,74,34,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.service-card p { font-size: .9rem; color: var(--color-muted); max-width: none; }

/* ============================================================
   HOME — WHY US
   ============================================================ */
.why-us {
  background: var(--color-light);
  padding: var(--section-pad);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}
.why-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(150,74,34,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.why-item h4 { margin-bottom: .2rem; }
.why-item p { font-size: .9rem; color: var(--color-muted); max-width: none; }
.why-visual {
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--color-white);
}
.why-stat { text-align: center; margin-bottom: 2rem; }
.why-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-bright);
  line-height: 1;
  display: block;
}
.why-stat-label { font-size: .85rem; color: #A09589; margin-top: .25rem; }
.why-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.why-stats-grid .why-stat { margin-bottom: 0; }

@media (max-width: 760px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { order: -1; }
}

/* ============================================================
   HOME — CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--color-primary);
  padding: 4rem 1.25rem;
  text-align: center;
}
.cta-banner h2 { color: var(--color-white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 0 auto 2rem; max-width: 52ch; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.page-hero {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 4rem 1.25rem 3.5rem;
  text-align: center;
}
.page-hero h1 { color: var(--color-white); margin-bottom: .75rem; }
.page-hero p { color: #C4B5AA; font-size: 1.1rem; max-width: 52ch; margin: 0 auto; }

.services-detail { padding: var(--section-pad); background: var(--color-white); }
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.service-detail-card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--color-primary);
}
.service-detail-card:hover { box-shadow: var(--shadow-lg); }
.service-detail-card .card-icon {
  width: 58px;
  height: 58px;
  background: rgba(150,74,34,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-detail-card h3 { margin-bottom: .75rem; }
.service-detail-card p { font-size: .95rem; color: var(--color-muted); margin-bottom: 1.25rem; max-width: none; }
.service-features { display: flex; flex-direction: column; gap: .5rem; }
.service-features li {
  font-size: .9rem;
  padding-left: 1.4rem;
  position: relative;
  color: var(--color-ink);
}
.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: .85rem;
}

@media (max-width: 600px) {
  .services-detail-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section { padding: var(--section-pad); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}
.about-content h2 { margin-bottom: 1.25rem; }
.about-content p { color: var(--color-muted); margin-bottom: 1rem; }
.about-content p:last-of-type { margin-bottom: 1.75rem; }
.about-sidebar {}
.about-card {
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}
.about-card h4 { color: var(--color-bright); margin-bottom: 1rem; }
.about-card ul { display: flex; flex-direction: column; gap: .6rem; }
.about-card li { font-size: .9rem; color: #C4B5AA; padding-left: 1.25rem; position: relative; }
.about-card li::before { content: '▸'; position: absolute; left: 0; color: var(--color-primary); }
.about-values {
  background: var(--color-white);
  padding: var(--section-pad);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.value-item { text-align: center; padding: 1.5rem; }
.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(150,74,34,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.value-item h4 { margin-bottom: .5rem; }
.value-item p { font-size: .9rem; color: var(--color-muted); max-width: none; }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   WORK / PORTFOLIO PAGE
   ============================================================ */
.portfolio-section { padding: var(--section-pad); background: var(--color-white); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.portfolio-card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.portfolio-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.portfolio-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-charcoal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: .85rem;
  letter-spacing: .05em;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-thumb .thumb-placeholder {
  color: rgba(255,255,255,.2);
  font-size: 3rem;
}
.portfolio-body { padding: 1.5rem; }
.portfolio-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(150,74,34,.1);
  padding: .2rem .65rem;
  border-radius: 20px;
  margin-bottom: .75rem;
}
.portfolio-body h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.portfolio-body p { font-size: .88rem; color: var(--color-muted); max-width: none; }
.portfolio-cta-row { text-align: center; margin-top: 3rem; }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-section { padding: var(--section-pad); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}
.pricing-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-lg);
}
.featured-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.plan-name { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary); margin-bottom: .75rem; }
.plan-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-ink);
  line-height: 1;
  margin-bottom: .5rem;
}
.plan-price sup { font-size: 1.25rem; vertical-align: super; font-weight: 700; }
.plan-price .price-note { font-size: .85rem; font-weight: 500; color: var(--color-muted); }
.plan-desc { font-size: .9rem; color: var(--color-muted); margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--color-border); max-width: none; }
.plan-features { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem; }
.plan-features li {
  font-size: .9rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-ink);
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.plan-features li.not-included { color: var(--color-muted); }
.plan-features li.not-included::before { content: '–'; color: var(--color-border); }
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: .9rem;
  color: var(--color-muted);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: var(--section-pad); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { font-size: .95rem; color: var(--color-muted); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; }
.contact-detail .detail-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: rgba(150,74,34,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.contact-detail .detail-body h4 { font-size: .85rem; color: var(--color-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .15rem; }
.contact-detail .detail-body a, .contact-detail .detail-body p { font-size: .95rem; color: var(--color-ink); max-width: none; }

/* Contact form */
.contact-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: .95rem;
  color: var(--color-ink);
  background: var(--color-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(150,74,34,.12);
  background: var(--color-white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { cursor: pointer; }
/* Honeypot */
.hp-field { display: none !important; }

.form-msg {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.form-msg.success { background: #edf7ed; color: #2d6a2f; border: 1px solid #b7dfb8; }
.form-msg.error   { background: #fdecea; color: #842029; border: 1px solid #f5c6c8; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row     { grid-template-columns: 1fr; }
}

/* ============================================================
   MISC / SHARED COMPONENTS
   ============================================================ */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

/* Breadcrumb / page-top strip */
.page-hero-simple {
  background: var(--color-dark);
  padding: 3rem 1.25rem 2.5rem;
  text-align: center;
}
.page-hero-simple h1 { color: var(--color-white); font-size: clamp(1.6rem, 3vw, 2.25rem); }

/* ============================================================
   HERO — ENTRANCE ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp .55s ease both; animation-delay: .05s; }
.hero h1      { animation: fadeUp .55s ease both; animation-delay: .18s; }
.hero-sub     { animation: fadeUp .55s ease both; animation-delay: .32s; }
.hero-actions { animation: fadeUp .55s ease both; animation-delay: .46s; }
.hero-visual  { animation: fadeUp .6s  ease both; animation-delay: .35s; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero h1, .hero-sub, .hero-actions, .hero-visual {
    animation: none;
  }
}

/* ============================================================
   SERVICE CARDS — TOP ACCENT ON HOVER
   ============================================================ */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.service-card:hover::before { transform: scaleX(1); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 1.1rem 1.25rem;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 2rem;
  border-right: 1px solid var(--color-border);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { flex-shrink: 0; }
.trust-item span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-ink);
  white-space: nowrap;
}
.trust-item span strong {
  color: var(--color-primary);
}

/* ============================================================
   INTRO / PERSONAL STATEMENT
   ============================================================ */
.intro-section {
  background: var(--color-white);
  padding: 5rem 1.25rem;
}
.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}
.intro-text h2 { margin-bottom: 1.25rem; }
.intro-text p  { color: var(--color-muted); margin-bottom: 1rem; }
.intro-text p:last-of-type { margin-bottom: 1.75rem; }
.intro-card {
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.intro-stat { text-align: center; }
.intro-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-bright);
  line-height: 1;
  display: block;
  margin-bottom: .3rem;
}
.intro-stat-label {
  font-size: .78rem;
  color: #A09589;
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 820px) {
  .intro-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .intro-section { padding: 2.75rem 1rem; }
}

/* ============================================================
   PROCESS / HOW I WORK
   ============================================================ */
.process-section {
  background: var(--color-dark);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(150,74,34,.12) 0%, transparent 65%);
  pointer-events: none;
}
.process-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}
.process-header { text-align: center; margin-bottom: 3.5rem; }
.process-header h2 { color: var(--color-white); }
.process-header p  { color: #A09589; margin: .75rem auto 0; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
/* Connector line between steps */
.process-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(16.66% + .5rem);
  right: calc(16.66% + .5rem);
  height: 1px;
  background: linear-gradient(to right, var(--color-primary), var(--color-bright), var(--color-primary));
  opacity: .4;
}
.process-step { text-align: center; }
.process-number {
  width: 54px;
  height: 54px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-white);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(150,74,34,.15);
}
.process-step h3 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: .5rem;
}
.process-step p {
  font-size: .88rem;
  color: #A09589;
  max-width: 22ch;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-grid::before { display: none; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--color-light);
  padding: var(--section-pad);
}
.testimonials-header { margin-bottom: 3rem; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars {
  color: var(--color-bright);
  letter-spacing: .05em;
  font-size: .9rem;
  margin-bottom: 1rem;
}
.testimonial-quote {
  font-size: .95rem;
  color: var(--color-ink);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.5rem;
  max-width: none;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  background: rgba(150,74,34,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 800;
  color: var(--color-primary);
  flex-shrink: 0;
}
.testimonial-name  { font-size: .9rem; font-weight: 700; color: var(--color-ink); }
.testimonial-biz   { font-size: .78rem; color: var(--color-muted); margin-top: .1rem; }

/* ============================================================
   SCROLL-REVEAL & MOTION
   .reveal is added by JS; .in-view flips when scrolled into view.
   Without JS (or with reduced-motion) everything stays visible.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .8, .36, 1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Hero badges — gentle alternating float */
@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes floatB { 0%,100% { transform: translateY(-5px); } 50% { transform: translateY(3px); } }
.hero-badge:nth-child(odd)  { animation: floatA 5.5s ease-in-out infinite; }
.hero-badge:nth-child(even) { animation: floatB 6.5s ease-in-out infinite; }

/* Hero parallax — fix background on capable screens for extra depth */
.hero { will-change: background-position; }

/* Button sheen sweep on hover */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg);
  transition: left .45s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* Process step numbers — pulse ring once revealed */
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 6px rgba(150,74,34,.15); }
  50%  { box-shadow: 0 0 0 11px rgba(150,74,34,.08); }
  100% { box-shadow: 0 0 0 6px rgba(150,74,34,.15); }
}
.process-number { animation: pulseRing 3s ease-in-out infinite; }

/* Respect reduced motion across all custom animation */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge, .process-number { animation: none; }
  .btn::after { display: none; }
}

/* ============================================================
   FAQ — native <details> accordion, no JS required
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--color-bright); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  font-weight: 600;
  font-size: .98rem;
  color: var(--color-ink);
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: '–'; }
.faq-item summary:hover { color: var(--color-primary); }
.faq-item p {
  padding: 0 1.4rem 1.25rem;
  font-size: .92rem;
  color: var(--color-muted);
  line-height: 1.75;
  max-width: none;
}

/* ============================================================
   MOBILE — COMPREHENSIVE OVERRIDES
   Applied on top of all component-level breakpoints above.
   ============================================================ */

/* Tighten section vertical padding on tablets */
@media (max-width: 900px) {
  :root { --section-pad: 3.5rem 1.25rem; }
}

/* Phone-sized overrides */
@media (max-width: 600px) {
  :root { --section-pad: 2.75rem 1rem; }

  /* Hero */
  .hero { padding: 3.5rem 1rem 3rem; }
  .hero h1 { font-size: 1.85rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Page hero (inner pages) */
  .page-hero { padding: 2.5rem 1rem 2rem; }
  .page-hero p { font-size: 1rem; }

  /* Intro strip */
  section p[style*="1.15rem"] { font-size: 1rem !important; }

  /* Services grid — single column */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.5rem 1.25rem; }

  /* Services detail cards */
  .services-detail-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-detail-card { padding: 1.75rem 1.25rem; }

  /* Why-us */
  .why-list { gap: 1.25rem; }
  .why-item { gap: .75rem; }
  .why-icon { width: 38px; height: 38px; flex-shrink: 0; }

  /* Dark stat card */
  .why-visual { padding: 1.75rem; }
  .why-stat-number { font-size: 2.25rem; }

  /* CTA banner */
  .cta-banner { padding: 3rem 1rem; }
  .cta-banner h2 { font-size: 1.5rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; justify-content: center; max-width: 320px; }

  /* About page */
  .about-card { padding: 1.5rem; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .value-item { padding: 1rem .75rem; }
  .value-icon { width: 44px; height: 44px; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-form-wrap { padding: 1.5rem 1.25rem; border-radius: var(--radius-md); }
  .contact-info p { margin-bottom: 1.5rem; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 2rem 1.25rem; }

  /* Footer */
  .site-footer { padding: 3rem 1rem 1.5rem; }

  /* Buttons — comfortable tap targets */
  .btn { padding: .8rem 1.5rem; font-size: .9rem; min-height: 48px; }

  /* Trust bar — wrap to 2×2 grid on phones */
  .trust-item { padding: .4rem 1.25rem; border-right: none; border-bottom: 1px solid var(--color-border); width: 50%; justify-content: center; }
  .trust-item:nth-child(even) { border-right: none; }
  .trust-item:nth-last-child(-n+2) { border-bottom: none; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* Very small phones */
@media (max-width: 380px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.65rem; }
  .trust-item { width: 100%; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
