/*
Theme Name:   Frotcom Child
Theme URI:    https://frotcom.ai
Description:  Frotcom UK child theme based on GeneratePress. Custom templates for all redesigned pages.
Author:       Frotcom UK Ltd
Author URI:   https://frotcom.ai
Template:     generatepress
Version:      1.0.0
License:      Private
Text Domain:  frotcom-child
*/

/* ═══════════════════════════════════════════
   FROTCOM BRAND CSS — shared across all pages
   ═══════════════════════════════════════════ */

/* ── BRAND VARIABLES ── */
:root {
  --red:          #CF0A2C;
  --red-dark:     #a80823;
  --dark-blue:    #263646;
  --dark-blue-80: #4D5A66;
  --dark-blue-60: #76808A;
  --dark-blue-40: #A2A8AF;
  --dark-blue-20: #D0D2D6;
  --dark-blue-10: #EDEDED;
  --light-blue:   #0081C9;
  --white:        #ffffff;
}

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

body {
  font-family: 'Lato', sans-serif !important;
  background: var(--white);
  color: var(--dark-blue);
  line-height: 1.65;
  margin: 0;
  padding-top: 68px; /* offset for fixed nav */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── GLOBAL NAV OVERRIDE ── */
/* GeneratePress nav is replaced by our custom header.php */
.site-header,
.main-navigation,
#site-navigation { display: none !important; }

/* ── OFFER BAND ── */
.frotcom-offer-band {
  background: var(--dark-blue);
  color: var(--white);
  text-align: center;
  padding: 10px 2rem;
  font-size: 13px;
  font-weight: 300;
  font-family: 'Lato', sans-serif;
}
.frotcom-offer-band strong {
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
}
.frotcom-offer-band a {
  color: var(--light-blue);
  text-decoration: none;
}
.frotcom-offer-band a:hover { text-decoration: underline; }

/* ── BENEFITS SUB-NAV STRIP ── */
.benefits-strip {
  background: var(--dark-blue-10);
  border-bottom: 1px solid var(--dark-blue-20);
  padding: 0 3rem;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
}
.benefits-strip a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-blue-60);
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
}
.benefits-strip a:hover  { color: var(--dark-blue); border-color: var(--dark-blue-20); }
.benefits-strip a.active { color: var(--red); border-color: var(--red); }

/* ── SHARED BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: var(--white);
  font-weight: 700; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 16px 32px; text-decoration: none;
  transition: background 0.2s, transform 0.15s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); color: var(--white); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--dark-blue);
  font-weight: 700; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 16px 32px; text-decoration: none;
  border: 2px solid var(--dark-blue-20); transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--dark-blue); }

.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--red);
  font-weight: 900; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 16px 36px; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-white:hover { background: var(--dark-blue-10); transform: translateY(-1px); }

.btn-white-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  font-weight: 700; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 16px 32px; text-decoration: none;
  border: 2px solid rgba(255,255,255,0.45); transition: border-color 0.2s;
}
.btn-white-outline:hover { border-color: var(--white); }

/* ── SHARED SECTION ATOMS ── */
.frotcom-section { padding: 6rem 5rem; }
.frotcom-section-inner { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red); margin-bottom: 1rem;
  display: block;
}
.section-h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 900; text-transform: uppercase;
  color: var(--dark-blue); line-height: 1.1; margin-bottom: 1.2rem;
}
.section-h2 span { color: var(--red); }
.section-intro {
  font-size: 16px; font-weight: 300; color: var(--dark-blue-80);
  line-height: 1.7; max-width: 680px;
}

/* ── HERO ── */
.frotcom-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 108px);
}
.hero-left {
  padding: 6rem 5rem;
  border-left: 4px solid var(--red);
  display: flex; flex-direction: column; justify-content: center;
  animation: fadeUp 0.6s ease both;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red); margin-bottom: 1.2rem;
}
.hero-headline {
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  font-weight: 900; text-transform: uppercase; line-height: 1.05;
  color: var(--dark-blue); margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.05s ease both;
}
.hero-headline span { color: var(--red); }
.hero-sub {
  font-size: 17px; font-weight: 300; color: var(--dark-blue-80);
  line-height: 1.7; max-width: 480px; margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.15s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.25s ease both;
}
.hero-right {
  background: var(--dark-blue);
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  padding: 5rem 4rem;
  display: flex; flex-direction: column; justify-content: center; gap: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-right-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 0.25rem;
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.75rem 1.5rem;
}
.hero-stat-number { font-weight: 900; font-size: 2.4rem; color: var(--red); line-height: 1; }
.hero-stat-label  { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 300; margin-top: 0.4rem; line-height: 1.4; }
.hero-pullquote {
  border-left: 4px solid var(--red); padding-left: 1rem;
  font-weight: 300; font-size: 1rem; color: rgba(255,255,255,0.7);
}
.hero-pullquote strong { color: var(--white); font-weight: 700; }

/* ── CHALLENGE / SAVING GRID ── */
.challenges-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 6rem; margin-top: 4rem;
}
.challenge-item {
  border-top: 1px solid var(--dark-blue-20);
  padding: 2rem 0;
  display: grid; grid-template-columns: 52px 1fr; gap: 1.5rem;
  align-items: start;
}
.challenge-num   { font-weight: 900; font-size: 12px; color: var(--red); padding-top: 3px; }
.challenge-title { font-weight: 700; text-transform: uppercase; color: var(--dark-blue); font-size: 14px; margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.challenge-body  { font-size: 14px; font-weight: 300; color: var(--dark-blue-80); line-height: 1.65; margin-bottom: 0.75rem; }
.challenge-solution {
  background: #f4f6f8; border-left: 3px solid var(--red);
  padding: 0.85rem 1rem; font-size: 13.5px; font-weight: 400; color: var(--dark-blue-80);
}
.challenge-solution strong { color: var(--red); font-weight: 700; }

/* ── DARK STEPS / PILLARS GRID ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 3.5rem;
}
.step {
  background: rgba(38,54,70,0.9); padding: 2rem 1.75rem;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
}
.step-num {
  width: 36px; height: 36px; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 14px; color: var(--white); margin-bottom: 1.25rem;
}
.step-title { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--white); margin-bottom: 0.6rem; }
.step-body  { font-size: 13.5px; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.65; }

/* ── OFFER CARD ── */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.offer-card {
  background: var(--dark-blue); padding: 3rem;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.offer-card-tag {
  display: inline-block; background: var(--red); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 5px 12px; margin-bottom: 1.5rem;
}
.offer-card-title { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; color: var(--white); margin-bottom: 0.5rem; }
.offer-card-sub   { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; }
.offer-checklist  { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; padding: 0; }
.offer-checklist li { display: flex; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,0.75); font-weight: 300; }
.offer-checklist li::before { content: '✓'; color: var(--red); font-weight: 900; flex-shrink: 0; }
.offer-copy p { font-size: 15px; font-weight: 300; color: var(--dark-blue-80); line-height: 1.7; margin-bottom: 1.25rem; }

/* ── BLOG CARDS ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.blog-card { display: flex; flex-direction: column; }
.blog-card-img { height: 200px; overflow: hidden; background: var(--dark-blue-10); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 1.5rem 0; border-top: 2px solid var(--red); flex: 1; }
.blog-card-cat   { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.blog-card-title { font-size: 15px; font-weight: 700; color: var(--dark-blue); line-height: 1.4; margin-bottom: 0.5rem; text-decoration: none; display: block; }
.blog-card-title:hover { color: var(--red); }
.blog-card-excerpt { font-size: 13px; font-weight: 300; color: var(--dark-blue-80); line-height: 1.6; }

/* ── CTA SECTION ── */
.cta-section-red { background: var(--red); padding: 6rem 5rem; text-align: center; }
.cta-section-dark { background: var(--dark-blue); padding: 6rem 5rem; text-align: center; }
.cta-section-red .section-eyebrow  { color: rgba(255,255,255,0.6); }
.cta-section-dark .section-eyebrow { color: rgba(207,10,44,0.8); }
.cta-section-red h2,
.cta-section-dark h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 900;
  text-transform: uppercase; color: var(--white); margin-bottom: 1rem;
}
.cta-section-red p  { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 2.5rem; }
.cta-section-dark p { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 2.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT STRIP ── */
.contact-strip {
  background: var(--dark-blue-10);
  border-top: 1px solid var(--dark-blue-20);
  padding: 2.5rem 5rem;
}
.contact-strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.contact-strip-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dark-blue-60);
}
.contact-strip-links { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.contact-strip-links a {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 13px; font-weight: 700; color: var(--dark-blue);
  text-decoration: none; transition: color 0.2s;
}
.contact-strip-links a:hover { color: var(--red); }

/* ── FOOTER ── */
.frotcom-footer { background: var(--dark-blue); padding: 4rem 5rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 3rem; flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand p { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 280px; margin-top: 1rem; }
.footer-col    { flex: 1; min-width: 160px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a  { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 3rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.3);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}

/* ── ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  body { padding-top: 68px; }
  .frotcom-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left {
    padding: 4rem 2rem;
    border-left: none;
    border-top: 4px solid var(--red);
  }
  .hero-right { padding: 3rem 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .frotcom-section { padding: 4rem 2rem; }
  .challenges-grid { grid-template-columns: 1fr; gap: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .blog-grid  { grid-template-columns: 1fr; }
  .benefits-strip { padding: 0 1.5rem; }
  .contact-strip { padding: 2rem; }
  .frotcom-footer { padding: 4rem 2rem; }
  .footer-inner { flex-direction: column; }
  .cta-section-red,
  .cta-section-dark { padding: 4rem 2rem; }
}
