/* ============================================================
   CORLEH — Corporate Marketing Website
   Colors: Primary Green #1B5E35 | White #FFFFFF | Charcoal #222222 | Gold #C9A227
   ============================================================ */

:root {
  --green:      #1B5E35;
  --green-dark: #154a29;
  --green-light:#e8f3ec;
  --gold:       #C9A227;
  --gold-light: #f9f0d6;
  --charcoal:   #222222;
  --gray-900:   #1a1a1a;
  --gray-700:   #444444;
  --gray-500:   #777777;
  --gray-200:   #e8e8e8;
  --gray-100:   #f5f5f5;
  --white:      #ffffff;

  --font-serif: 'EB Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.12);

  --max-w: 1120px;
  --nav-h: 56px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section       { padding: 96px 0; }
.section-light { background: var(--gray-100); }
.section-green { background: var(--green); color: var(--white); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 0.95rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

p { color: var(--gray-700); }

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

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.eyebrow-light { color: rgba(255,255,255,0.7); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--gray-500); }

.section-header-light h2,
.section-header-light p { color: var(--white); }
.section-header-light .section-sub { color: rgba(255,255,255,0.75); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27,94,53,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-lg { padding: 15px 32px; font-size: 0.95rem; }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── NAV ── */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav-scrolled {
  border-color: var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo img { height: var(--nav-h); padding: 4px 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta a { padding: 9px 20px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── HERO ── */
.hero {
  padding: 32px 0 60px;
  background: var(--white);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-text { max-width: 560px; }
.hero-text h1 { margin-bottom: 24px; }
.hero-text .eyebrow { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero card stack visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.hero-card-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 300px;
}
.hcard {
  width: 100%;
  padding: 24px 28px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-lg);
}
.hcard-1 {
  background: var(--green);
}
.hcard-2 {
  background: var(--white);
  border: 1px solid var(--gray-200);
}
.hcard-3 {
  background: var(--gold-light);
  border: 1px solid rgba(201,162,39,0.2);
}
.hcard-label {
  font-weight: 600;
  font-size: 0.95rem;
}
.hcard-sub {
  font-size: 0.78rem;
  opacity: 0.75;
}
.hcard-1 .hcard-label,
.hcard-1 .hcard-sub { color: var(--white); }
.hcard-2 .hcard-label { color: var(--green); }
.hcard-3 .hcard-label { color: var(--gold); }

/* ── TRUST BAR ── */
.trust-bar {
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
}
.trust-item svg { color: var(--green); flex-shrink: 0; }
.trust-divider { color: var(--gray-200); font-size: 1.2rem; }

/* ── PROBLEM GRID ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.problem-card {
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.problem-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gray-200);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1;
}
.problem-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.service-card-featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow);
}
.service-badge {
  position: absolute;
  top: -13px;
  left: 36px;
  background: var(--green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}
.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}
.service-icon img { width: 36px; height: 36px; object-fit: contain; }
.service-card h3 { margin-bottom: 14px; color: var(--charcoal); }
.service-card p { font-size: 0.92rem; margin-bottom: 20px; line-height: 1.65; }
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  font-size: 0.85rem;
  color: var(--gray-700);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.5;
}
.service-list a { color: var(--green); text-decoration: underline; }

/* ── WHY CORLEH ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: background 0.2s;
}
.why-card:hover { background: rgba(255,255,255,0.13); }
.why-icon { font-size: 2rem; margin-bottom: 16px; }
.why-card h4 { color: var(--white); margin-bottom: 12px; font-family: var(--font-sans); font-weight: 600; }
.why-card p { color: rgba(255,255,255,0.75); font-size: 0.88rem; line-height: 1.65; }

/* ── APPS ── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.app-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.app-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.app-card-coming {
  border-style: dashed;
  border-color: var(--gray-200);
}
.app-header { display: flex; align-items: center; gap: 16px; }
.app-logo {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 6px;
}
.app-logo img { width: 40px; height: 40px; object-fit: contain; }
.app-logo-placeholder {
  background: var(--gray-100);
  font-size: 1.5rem;
  color: var(--gray-500);
}
.app-meta h3 { font-size: 1.05rem; margin-bottom: 4px; }
.app-url {
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 500;
}
.app-url:hover { text-decoration: underline; }
.app-card > p { font-size: 0.88rem; line-height: 1.65; flex: 1; }
.app-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--green-light);
  color: var(--green);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ── PROCESS ── */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-content h4 { margin-bottom: 10px; color: var(--charcoal); font-family: var(--font-sans); font-weight: 600; }
.step-content p { font-size: 0.88rem; line-height: 1.65; }
.process-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: var(--gray-200);
  margin-top: 24px;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricing-card-featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow-lg);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 36px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}
.pricing-tier {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}
.pricing-range {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--charcoal);
  line-height: 1;
}
.pricing-desc { font-size: 0.88rem; line-height: 1.6; }
.pricing-list { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pricing-list li {
  font-size: 0.88rem;
  color: var(--gray-700);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
  font-size: 0.8rem;
}

/* ── TESTIMONIAL ── */
.testimonial-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: rgba(255,255,255,0.2);
  line-height: 0.8;
  margin-bottom: 8px;
}
blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 32px;
}
.testimonial-attr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.testimonial-attr strong { color: var(--white); font-family: var(--font-sans); }
.testimonial-attr span { color: rgba(255,255,255,0.6); font-size: 0.88rem; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info .eyebrow { margin-bottom: 16px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { margin-bottom: 32px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--green);
  transition: opacity 0.15s;
}
.contact-link:hover { opacity: 0.75; }
.contact-link svg { color: var(--green); flex-shrink: 0; }
.contact-apps-note p {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.contact-app-links { display: flex; gap: 16px; }
.contact-app-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--green);
  border-bottom: 1px solid rgba(27,94,53,0.3);
  padding-bottom: 2px;
  transition: border-color 0.15s;
}
.contact-app-links a:hover { border-color: var(--green); }

/* Contact Form */
.contact-form-wrap {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-500); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27,94,53,0.1);
}

/* ── FOOTER ── */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}
.footer-brand img { filter: brightness(0) invert(1); margin-bottom: 16px; width: auto; }
.footer-logo { height: 60px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-col h5 { color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.7); transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer-social a:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner     { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual    { display: none; }
  .services-grid  { grid-template-columns: 1fr; }
  .apps-grid      { grid-template-columns: 1fr; }
  .pricing-grid   { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; gap: 48px; }
  .process-steps  { flex-direction: column; align-items: center; gap: 0; }
  .process-connector { width: 2px; height: 40px; }
  .process-step   { padding: 0; max-width: 320px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px 20px;
    border-bottom: 1px solid var(--gray-200);
    gap: 20px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-wrapper { position: relative; }

  .trust-inner { flex-direction: column; gap: 12px; }
  .trust-divider { display: none; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .hero { padding: 64px 0 48px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .problem-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-logo { height: 48px; }
  .contact-form-wrap { padding: 28px 20px; }
}
