﻿/* Reduce spacing between How Sommos Works and The Sommos App sections */
#portfolio { padding-top: 40px; }

/* Article text colors for dark theme */
.article-section, .blog-article-section, .post-section { background: transparent; }
.article-body p, .article-content p, .post-content p, .blog-article p { color: #d1d5db; font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.article-body h2, .article-content h2, .post-content h2 { color: #f1f5f9; font-size: 24px; margin-top: 36px; margin-bottom: 16px; }
.article-body h3, .article-content h3, .post-content h3 { color: #e2e8f0; font-size: 20px; margin-top: 28px; margin-bottom: 12px; }
.article-body ul, .article-body ol, .article-content ul, .article-content ol { color: #d1d5db; margin-bottom: 20px; padding-left: 24px; }
.article-body li, .article-content li { margin-bottom: 8px; line-height: 1.7; color: #d1d5db; }
.article-body strong { color: #f1f5f9; }
.article-body a { color: #EA580C; }
.article-body blockquote { border-left: 3px solid #EA580C; padding-left: 16px; color: #94a3b8; font-style: italic; }
.article-lead { color: #94a3b8; font-size: 18px; }

.article-body p, .article-content p, .post-content p, .blog-article p { color: #444; font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.article-body h2, .article-content h2, .post-content h2 { color: #222; font-size: 24px; margin-top: 36px; margin-bottom: 16px; }
.article-body h3, .article-content h3, .post-content h3 { color: #333; font-size: 20px; margin-top: 28px; margin-bottom: 12px; }
.article-body ul, .article-body ol, .article-content ul, .article-content ol { color: #444; margin-bottom: 20px; padding-left: 24px; }
.article-body li, .article-content li { margin-bottom: 8px; line-height: 1.7; }

/* Fix 4: Blog card flex layout */
.blog-card { display: flex; flex-direction: column; min-height: 420px; }
.blog-card-body { display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-body > p:last-of-type, .blog-card-excerpt { flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-body > a:last-child, .blog-read-more { margin-top: auto; }

/* Form Submit Button */
.btn-submit {
    display: block;
    width: 100%;
    background-color: #1a1a2e;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
    margin-top: 12px;
}
.btn-submit:hover {
    background-color: #EA580C;
    color: #ffffff;
    transform: translateY(-2px);
}

/* === Team Page Restructure  CEO Featured + Mode B Initials === */

/* CEO Featured Card */
#team-ceo {
  padding: 60px 0 40px;
  background: #fff;
}

.team-ceo-card {
  background: #fff9f7;
  border: 2px solid rgba(234, 88, 12, 0.25);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}

.team-ceo-name {
  font-size: 26px;
  font-weight: 700;
  color: #1C1917;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}

.team-ceo-title {
  font-size: 14px;
  font-weight: 600;
  color: #EA580C;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.team-ceo-bio {
  font-size: 15px;
  color: #44403C;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 20px;
}

.team-ceo-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #EA580C;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.team-ceo-links a:hover {
  color: #c2410c;
}

/* Core Team Section */
#team {
  padding: 40px 0 80px;
  background: #fff;
}

.team-section-heading {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #1C1917;
  margin-bottom: 36px;
  letter-spacing: 0.03em;
}

/* Team Card Zone Structure */
.team-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  margin-bottom: 30px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.team-card:hover {
  border-color: #EA580C;
  box-shadow: 0 6px 24px rgba(234, 88, 12, 0.10);
}

.team-avatar-zone {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* Mode B: Initial-letter circles */
.team-initial {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.team-initial.team-initial-accent {
  background-color: #EA580C;
}

.team-initial.team-initial-dark {
  background-color: #1C1917;
}

.team-name-zone {
  height: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-name-zone h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1C1917;
  margin: 0;
  text-align: center;
}

.team-role-zone {
  height: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.team-role-zone h4 {
  font-size: 13px;
  font-weight: 600;
  color: #EA580C;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  text-align: center;
}

.team-bio-zone {
  flex-grow: 1;
}

.team-footer-zone {
  margin-top: auto;
  padding-top: 16px;
}

.team-linkedin {
  color: #78716C;
  font-size: 18px;
  transition: color 0.2s;
}

.team-linkedin:hover {
  color: #EA580C;
}

/* ============================================================
   SOMMOS APP — VISUAL ENRICHMENT (APPENDED)
   Warm food-culture design language
   Accent: #EA580C | Bg: #FFF8F0 | Dark: #1C1917
   ============================================================ */

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  --accent:       #EA580C;
  --accent-hover: #C2410C;
  --accent-light: #FEF3EC;
  --accent-pale:  #FDE8DC;
  --bg-warm:      #FFF8F0;
  --bg-cream:     #FDF6EE;
  --dark:         #1C1917;
  --dark-mid:     #44403C;
  --text-muted:   #78716C;
  --border-warm:  #F0E0CC;
  --shadow-warm:  rgba(234, 88, 12, 0.12);
  --shadow-soft:  rgba(0, 0, 0, 0.08);
  --radius-card:  12px;
  --radius-btn:   8px;
  --transition:   0.25s ease;
}

/* ── Body & Typography Baseline ──────────────────────────── */
body {
  font-family: 'Raleway', 'lane_-_narrowregular', sans-serif;
  color: #333;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  color: var(--dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  color: #4B3A2A;
  line-height: 1.75;
}

/* ── Section Title Utilities ─────────────────────────────── */
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.section-title-underline {
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 32px;
}
.section-title-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 36px;
}

/* Section heading accent borders — recolor template yellow to orange */
#service h2  { border-left-color:  var(--accent); color: var(--dark); }
#about h2    { border-right-color: var(--accent); color: var(--dark); }
#portfolio h2{ border-right-color: var(--accent); color: var(--dark); }
#contact h2  { border-right-color: var(--accent); color: var(--dark); }
#team h2     { border-left-color:  var(--accent); color: var(--dark); }
hr { border-color: var(--accent); }

/* ── Navbar Brand ────────────────────────────────────────── */
.navbar-default .navbar-brand {
  background: var(--accent) !important;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover {
  color: var(--accent) !important;
}

/* ── Hero Section (#home) ────────────────────────────────── */
#home {
  position: relative;
  overflow: hidden;
}
#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 25, 23, 0.72) 0%,
    rgba(234, 88, 12, 0.45) 60%,
    rgba(28, 25, 23, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}
#home .container {
  position: relative;
  z-index: 2;
}
#home h1,
#home h2 {
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}
#home h2 {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.4;
}
#home h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
#home h1 strong {
  color: #FDBA74; /* warm amber highlight — readable on dark overlay */
}
#home p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ── Sub-page Hero (.page-hero) ──────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #3A1505 60%, var(--accent) 100%);
  padding: 90px 0 48px;
  text-align: center;
  margin-top: 70px;
}
.page-hero h1 {
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  margin: 0;
}

/* ── How Sommos Works (#service) ─────────────────────────── */
#service {
  background: var(--bg-warm);
}
#service h2 {
  margin-bottom: 40px;
}
#service .col-md-4 {
  text-align: center;
  padding: 28px 20px;
}
/* Service step icons — colored circles */
#service .fa,
#service [class^="fa-"],
#service [class*=" fa-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--accent-pale);
  color: var(--accent);
  border-radius: 50%;
  font-size: 26px;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 16px;
  margin-top: 0;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
#service .col-md-4:hover .fa,
#service .col-md-4:hover [class^="fa-"],
#service .col-md-4:hover [class*=" fa-"] {
  background: var(--accent);
  color: #fff;
  transform: translateY(-4px) scale(1.06);
}
#service h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
#service p {
  color: var(--dark-mid);
  font-size: 15px;
  line-height: 1.7;
}

/* ── App Gallery / Portfolio (#portfolio) ─────────────────── */
#portfolio {
  background: #fff;
  padding-bottom: 60px;
}
/* Filter buttons */
.filter-wrapper li a.opc-main-bg {
  background: transparent;
  border: 1px solid var(--border-warm);
  border-radius: 20px;
  color: var(--dark-mid);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-wrapper li a.opc-main-bg.selected,
.filter-wrapper li a.opc-main-bg:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
/* Portfolio image hover zoom */
.iso-box img {
  transition: transform 0.35s ease, opacity 0.25s ease !important;
  display: block;
  width: 100%;
}
.iso-box:hover img {
  transform: scale(1.06);
  opacity: 1 !important;
}
.iso-box {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow-soft);
  transition: box-shadow 0.25s ease;
}
.iso-box:hover {
  box-shadow: 0 8px 28px rgba(234, 88, 12, 0.18);
}

/* ── Values Section (.values-item) ───────────────────────── */
.section-warm {
  background: var(--bg-warm);
}
.values-item {
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 28px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.values-item:hover {
  box-shadow: 0 8px 28px var(--shadow-warm);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.values-item .fa,
.values-item [class^="fa-"],
.values-item [class*=" fa-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--accent-pale);
  color: var(--accent);
  border-radius: 50%;
  font-size: 22px;
  margin-bottom: 14px;
  transition: background var(--transition), color var(--transition);
  border: none !important;
  padding: 0 !important;
  margin-top: 0;
}
.values-item:hover .fa,
.values-item:hover [class^="fa-"],
.values-item:hover [class*=" fa-"] {
  background: var(--accent);
  color: #fff;
}
.values-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.values-item p {
  color: var(--dark-mid);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* ── Feature Sections (product.html) ─────────────────────── */
.feature-section {
  padding: 60px 0;
  background: #fff;
}
.feature-section.bg-warm {
  background: var(--bg-warm);
}
.feature-section img {
  border-radius: var(--radius-card);
  box-shadow: 0 6px 28px var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}
.feature-section img:hover {
  transform: scale(1.025) !important;
  opacity: 1 !important;
  box-shadow: 0 12px 40px rgba(234, 88, 12, 0.16);
}
.feature-section h3 {
  font-size: 23px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  margin-top: 0;
}
.feature-section h3::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 14px;
}
.feature-section p {
  color: var(--dark-mid);
  font-size: 16px;
  line-height: 1.8;
}

/* ── App CTA (.app-cta) ──────────────────────────────────── */
.app-cta {
  background: linear-gradient(135deg, var(--dark) 0%, #3A1505 50%, #5C1A00 100%);
  padding: 72px 0;
  text-align: center;
}
.app-cta h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.app-cta p {
  color: rgba(255, 255, 255, 0.80);
  font-size: 17px;
  margin-bottom: 28px;
}
.app-cta .btn,
.app-cta .btn-default {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-btn);
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35);
}
.app-cta .btn:hover,
.app-cta .btn-default:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.45);
}

/* ── Backed By (.backed-by) ──────────────────────────────── */
.backed-by {
  background: var(--bg-cream);
  padding: 48px 0;
  text-align: center;
}
.backed-by h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  display: inline-block;
}
.backed-by h3::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 8px auto 0;
}
.backed-by p {
  color: var(--dark-mid);
  font-size: 16px;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}
.backed-by strong {
  color: var(--dark);
}

/* ── Contact Info (.contact-info) ────────────────────────── */
.contact-info {
  background: var(--bg-warm);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}
.contact-info h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-pale);
}
.contact-info p {
  color: var(--dark-mid);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 10px;
}
.contact-info .fa {
  color: var(--accent);
  width: 18px;
  margin-right: 6px;
}

/* Restaurant CTA box in contact info */
.restaurant-cta-box {
  background: var(--accent-pale);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 14px 16px;
  margin-top: 20px;
}
.restaurant-cta-box p {
  font-size: 14px;
  color: var(--dark-mid);
  margin: 0;
}
.restaurant-cta-box strong {
  color: var(--dark);
}

/* ── Form Inputs ─────────────────────────────────────────── */
#contact .form-control,
.contact-form .form-control,
.form-control {
  border: 1.5px solid var(--border-warm) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  padding: 10px 14px !important;
  height: auto !important;
  font-size: 15px;
  color: var(--dark);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
#contact .form-control:focus,
.form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12) !important;
  outline: none;
  position: static !important;
  bottom: auto !important;
  opacity: 1 !important;
}
#contact input[type="text"],
#contact input[type="email"] {
  height: auto !important;
}
.form-control::-webkit-input-placeholder { color: #A8998A; }
.form-control::-moz-placeholder           { color: #A8998A; opacity: 1; }
.form-control:-ms-input-placeholder       { color: #A8998A; }

/* ── Buttons ─────────────────────────────────────────────── */
/* Primary CTA */
.btn-primary-cta,
.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 13px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 3px 12px rgba(234, 88, 12, 0.28);
}
.btn-primary-cta:hover,
.btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.38);
  text-decoration: none;
}

/* Secondary / outline */
.btn-outline-accent {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: var(--radius-btn);
  padding: 11px 28px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

/* Hero CTA button */
#home .btn {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius-btn) !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35);
}
#home .btn:hover {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
  transform: translateY(-2px);
}

/* ── Footer (.footer-cols + .footer-bottom) ──────────────── */
.footer-cols {
  background: var(--dark);
  padding: 56px 0 36px;
}
.footer-cols h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-cols ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.footer-cols ul li {
  margin-bottom: 8px;
}
.footer-cols ul li a {
  color: #D6CFC8;
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-cols ul li a:hover {
  color: var(--accent);
}
.footer-cols p {
  color: #C4B9B0;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 6px;
}
.footer-cols a {
  color: #D6CFC8;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-cols a:hover {
  color: var(--accent);
}

/* Social icons — compact, round */
.footer-cols .social-icons li a,
.social-icons li a {
  background: rgba(255, 255, 255, 0.10) !important;
  color: #fff !important;
  width: 38px !important;
  height: 38px !important;
  line-height: 38px !important;
  font-size: 16px !important;
  border-radius: 50% !important;
  margin-right: 6px !important;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-cols .social-icons li a:hover,
.social-icons li a:hover {
  background: var(--accent) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Footer bottom bar */
.footer-bottom {
  background: #111110;
  padding: 16px 0;
  text-align: center;
}
.footer-bottom p {
  color: #78716C;
  font-size: 13px;
  margin: 0;
}

/* ── Cookie Banner (#cookie-banner) ──────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: #e2e8f0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
  font-size: 14px;
}
#cookie-banner p {
  margin: 0;
  color: #e2e8f0;
  font-size: 14px;
  flex: 1;
}
#cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}
#cookie-banner a:hover {
  color: #FDBA74;
}
/* Accept button */
.btn-cookie-accept,
#cookie-accept-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
}
.btn-cookie-accept:hover,
#cookie-accept-btn:hover {
  background: var(--accent-hover);
}
/* Decline / Manage button */
.cookie-btn-manage {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition), color var(--transition);
}
.cookie-btn-manage:hover {
  border-color: #fff;
  color: #fff;
}
@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }
  #cookie-banner p { margin-bottom: 12px; }
}

/* ── Scroll-to-Top (.go-top) ─────────────────────────────── */
.go-top {
  background-color: var(--accent) !important;
  border-radius: 50%;
  width: 48px !important;
  height: 48px !important;
  line-height: 48px !important;
  font-size: 20px !important;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35);
  bottom: 24px !important;
  right: 24px !important;
  transition: background var(--transition), transform var(--transition);
}
.go-top:hover {
  background-color: var(--accent-hover) !important;
  transform: translateY(-3px);
}

/* ── About Page Text ─────────────────────────────────────── */
#about {
  background: #fff;
}
#about h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 6px;
}
#about h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-mid);
  margin-bottom: 18px;
}
#about p {
  color: var(--dark-mid);
  line-height: 1.8;
}
#about img {
  border: none !important;
  padding: 0 !important;
  border-radius: var(--radius-card);
  box-shadow: 0 6px 24px var(--shadow-soft);
}

/* ── Blog Index Hero Override ─────────────────────────────── */
.blog-index-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #4A1F08 60%, var(--accent) 100%) !important;
  border-bottom: none !important;
}
.blog-index-hero h1 {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.blog-index-hero p {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* ── Typography Rhythm ───────────────────────────────────── */
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.4rem); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  #home h1 { font-size: 32px; }
  #home h2 { font-size: 15px; }
  .page-hero { padding: 80px 0 36px; }
  .page-hero h1 { font-size: 29px; }
  .feature-section { padding: 40px 0; }
  .app-cta { padding: 48px 0; }
  .app-cta h2 { font-size: 24px; }
  .footer-cols { padding: 40px 0 24px; }
  .backed-by { padding: 36px 0; }
  .iso-box { margin-bottom: 14px; }
  .contact-info { margin-top: 32px; }
}
@media (max-width: 480px) {
  #home { min-height: 500px; padding-top: 140px; }
  .values-item { padding: 22px 16px; }
  .team-ceo-card { padding: 28px 20px; }
  .filter-wrapper li a { padding: 6px 12px; font-size: 13px; }
}

/* ── Print Safety ────────────────────────────────────────── */
@media print {
  #cookie-banner, .go-top { display: none !important; }
  #home::before { display: none; }
}

/* ============================================================
   END VISUAL ENRICHMENT
   ============================================================ */

/* ============================================================
   ABOUT PAGE — Layout & Spacing Fixes (APPENDED)
   ============================================================ */

/* ── 1. Section spacing: cap at 60px top/bottom ──────────── */
#about {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
  background: #fff;
}
#service {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}
.backed-by {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

/* ── 2. Divider gap reduction ────────────────────────────── */
.about-divider-wrap {
  padding: 0;
  margin: 0;
}
.about-divider-wrap hr {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* ── 3. Section title compact spacing ────────────────────── */
#about h2,
#service h2 {
  margin-top: 0;
  margin-bottom: 28px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ── 4. Founder Story Card ───────────────────────────────── */
.founder-story-card {
  background: var(--bg-warm);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-card);
  border-left: 4px solid var(--accent);
  padding: 36px 40px;
  text-align: left;
  margin-bottom: 0;
}

.founder-story-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
}

.founder-story-date {
  font-size: 15px !important;
  font-weight: 600;
  color: var(--dark-mid) !important;
  margin-bottom: 18px !important;
  margin-top: 0 !important;
  padding-bottom: 0 !important;
}

.founder-story-card p {
  color: var(--dark-mid);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* Contact info row in founder card */
.founder-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-warm);
}

.founder-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--dark-mid);
}

.founder-contact-item .fa {
  color: var(--accent);
  font-size: 14px;
  width: 16px;
  /* Reset the circle icon style from #service .fa */
  display: inline !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  transform: none !important;
}

.founder-contact-item a {
  color: var(--accent);
  text-decoration: none;
}
.founder-contact-item a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ── 5. Values cards — equal height via flexbox ──────────── */
.values-row {
  display: flex;
  flex-wrap: wrap;
}

.values-row .col-md-4 {
  display: flex;
}

.values-item-flex {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.values-icon-zone {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

/* Reset the .fa circle styles from existing .values-item rule for icon zone */
.values-icon-zone .fa {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.values-title-zone {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.values-title-zone h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  text-align: center;
}

.values-desc-zone {
  flex-grow: 1;
  text-align: center;
}

.values-desc-zone p {
  color: var(--dark-mid);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ── 6. Backed By — enriched badge layout ────────────────── */
.backed-by-inner {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px var(--shadow-soft);
}

.backed-by-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-pale);
  color: var(--accent);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.backed-by-badge .fa {
  font-size: 13px;
  /* Reset any inherited circle icon styles */
  display: inline !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  color: var(--accent) !important;
  transform: none !important;
}

.backed-by-inner h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  margin-top: 0;
}

.backed-by-inner p {
  color: var(--dark-mid);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 auto 12px;
  max-width: 640px;
}

.backed-by-inner p:last-child {
  margin-bottom: 0;
}

/* ── 7. Alternating section backgrounds on about page ───── */
/* about section (#about) = white (already set above) */
/* values section (#service on about page) = warm (already .section-warm) */
/* backed-by = cream (already var(--bg-cream)) */

/* ── 8. Responsive adjustments ──────────────────────────── */
@media (max-width: 768px) {
  .founder-story-card {
    padding: 24px 20px;
  }
  .founder-contact-row {
    flex-direction: column;
    gap: 10px;
  }
  .values-row {
    display: block;
  }
  .values-row .col-md-4 {
    display: block;
    margin-bottom: 16px;
  }
  .values-item-flex {
    height: auto;
  }
  .backed-by-inner {
    padding: 24px 16px;
  }
}

/* ============================================================
   END ABOUT PAGE FIXES
   ============================================================ */
