/* ============================================================
   RedWildPig Corporate Website — Shared Styles
   Brand: #C8102E (red), #FFFFFF (white), #000000 (black)
   Font: Inter / Arial / Helvetica
   ============================================================ */

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

:root {
  --red:        #C8102E;
  --red-dark:   #a00e25;
  --white:      #FFFFFF;
  --black:      #000000;
  --dark:       #0c0f1a;
  --gray-dark:  #1f2937;
  --gray-mid:   #6b7280;
  --gray-light: #e5e7eb;
  --gray-bg:    #f9fafb;
  --font:       'Inter', Arial, Helvetica, sans-serif;
  --max-width:  1140px;
  --radius:     8px;
  --transition: 0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--red); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.8; }
ul { list-style: none; }

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--gray { background: var(--gray-bg); }
.section--dark {
  background: var(--dark);
  color: var(--white);
}
.section--red {
  background: var(--red);
  color: var(--white);
}

.section__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section--red .section__label  { color: rgba(255,255,255,0.65); }
.section--dark .section__label { color: var(--red); }

.section__title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--black);
  letter-spacing: -0.5px;
}
.section--red .section__title  { color: var(--white); }
.section--dark .section__title { color: var(--white); }

.section__lead {
  font-size: 18px;
  color: var(--gray-mid);
  max-width: 640px;
  line-height: 1.7;
}
.section--red .section__lead  { color: rgba(255,255,255,0.82); }
.section--dark .section__lead { color: rgba(255,255,255,0.6); }

.text-center { text-align: center; }
.text-center .section__lead { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}
.btn--red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  opacity: 1;
  box-shadow: 0 4px 18px rgba(200,16,46,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  opacity: 1;
}
.btn--outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn--outline-red:hover {
  background: var(--red);
  color: var(--white);
  opacity: 1;
}
.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: transparent;
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.22);
  opacity: 1;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 1px 16px rgba(0,0,0,0.05);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-mid);
  transition: color var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--gray-dark); opacity: 1; }
.nav__links .btn { margin-left: 8px; }
.nav__links .btn--red { color: var(--white); }

/* Mobile hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  transition: all var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--gray-light);
  gap: 16px;
}
.nav__mobile a {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-mid);
}
.nav__mobile a:hover { color: var(--gray-dark); opacity: 1; }
.nav__mobile.open { display: flex; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #8c0c1f 0%, var(--red) 55%, #d4142f 100%);
  color: var(--white);
  padding: 108px 0 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  border: 90px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -110px;
  left: 3%;
  width: 340px;
  height: 340px;
  border: 70px solid rgba(255,255,255,0.035);
  border-radius: 50%;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__content { max-width: 780px; }
.hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(32px, 5vw, 61px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -2px;
}
.hero__title em {
  font-style: normal;
  color: rgba(255,255,255,0.6);
}
.hero__subtitle {
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── About grid ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── Cards grid ── */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 56px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}
.card__icon {
  width: 48px;
  height: 48px;
  background: rgba(200,16,46,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 2; }
.card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.card__body { font-size: 15px; color: var(--gray-mid); line-height: 1.65; }

/* ── Stats band ── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin-top: 48px;
}
.stat {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat:last-child { border-right: none; }
.stat__number {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat__label {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
}

/* ── CTA strip ── */
.cta-strip {
  padding: 80px 0;
  background: var(--white);
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip__text h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.4px;
}
.cta-strip__text p { color: var(--gray-mid); margin-top: 8px; }

/* ── Page header (inner pages) ── */
.page-header {
  background: linear-gradient(135deg, #8c0c1f 0%, var(--red) 55%, #d4142f 100%);
  color: var(--white);
  padding: 80px 0 72px;
}
.page-header__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.page-header__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}
.page-header__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  margin-top: 14px;
  max-width: 520px;
}

/* ── Contact page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 48px;
}
.contact-block__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(200,16,46,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item__icon svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 2; }
.contact-item__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-mid);
  margin-bottom: 4px;
}
.contact-item__value {
  font-size: 15px;
  color: var(--gray-dark);
  font-weight: 500;
}
.contact-map-placeholder {
  background: var(--gray-bg);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  font-size: 14px;
  margin-top: 24px;
}

/* ── Legal page ── */
.legal-content {
  max-width: 780px;
  margin-top: 48px;
}
.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  letter-spacing: -0.2px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-content ul li {
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 6px;
}
.legal-meta {
  font-size: 13px;
  color: var(--gray-mid);
  margin-bottom: 40px;
  padding: 12px 16px;
  background: var(--gray-bg);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand { max-width: 300px; }
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.footer__tagline { font-size: 14px; line-height: 1.65; }
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  transition: color var(--transition);
}
.footer__col ul a:hover { color: var(--red); opacity: 1; }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer__bottom a { color: rgba(255,255,255,0.45); }
.footer__bottom a:hover { color: var(--red); opacity: 1; }

/* ── Divider ── */
.divider {
  width: 40px;
  height: 3px;
  background: var(--red);
  margin: 16px 0 28px;
  border-radius: 2px;
}
.text-center .divider { margin: 16px auto 28px; }
.section--dark .divider { background: var(--red); }

/* ── Scroll animations ── */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate][data-delay="1"] { transition-delay: 0.08s; }
[data-animate][data-delay="2"] { transition-delay: 0.16s; }
[data-animate][data-delay="3"] { transition-delay: 0.24s; }
[data-animate][data-delay="4"] { transition-delay: 0.32s; }
[data-animate][data-delay="5"] { transition-delay: 0.40s; }
[data-animate][data-delay="6"] { transition-delay: 0.48s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .section { padding: 72px 0; }
  .hero { padding: 79px 0 72px; text-align: center; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand { max-width: 100%; }
  .cta-strip__inner { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .hero { padding: 65px 0 58px; }
  .hero__title { letter-spacing: -1px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .btn { text-align: center; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

/* ============================================================
   Cost Breakdown Figure (claros.html)
   ============================================================ */
.cost-figure {
  margin: 0;
}
.cost-figure img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto;
}
.cost-figure figcaption {
  max-width: 380px;
  margin: 24px auto 0;
  font-size: 12px;
  color: var(--gray-mid);
  line-height: 1.65;
  text-align: center;
}

/* ============================================================
   Claros page layout grids
   ============================================================ */
.claros-problem {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-light);
  border-left: 1px solid var(--gray-light);
}
.claros-split,
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

@media (max-width: 900px) {
  .claros-problem { grid-template-columns: 1fr; }
  .claros-split,
  .split-2 { grid-template-columns: 1fr; gap: 64px; }
  /* Lead with the copy, not the card, once the columns stack. */
  .claros-split--reverse > :first-child,
  .split-2--reverse > :first-child { order: 2; }
}

/* ============================================================
   Online presence / web development page
   ============================================================ */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.plan--featured {
  border-color: var(--red);
  box-shadow: 0 12px 32px rgba(200, 16, 46, 0.08);
}
.plan__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 14px;
}
.plan__name {
  font-size: 21px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.plan__for {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.65;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--gray-light);
}
.plan__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.plan__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.6;
}
.plan__list li::before {
  content: "—";
  color: var(--red);
  font-weight: 800;
  flex-shrink: 0;
}
.plan .btn { margin-top: auto; text-align: center; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.timeline__step {
  padding: 32px 28px 0 0;
  border-top: 3px solid var(--red);
  margin-top: -1px;
}
.timeline__step + .timeline__step { border-top-color: rgba(255, 255, 255, 0.22); }
.timeline__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 10px;
}
.timeline__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.timeline__body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline__step { padding-right: 0; }
}
