/* ==========================================================================
   ARC — Renovate With ARC (renovatewitharc.com)
   Bold & Professional Theme / Fully Responsive
   ========================================================================== */

:root {
  /* --- Core palette: dark charcoal + burnt orange --- */
  --bg: #ffffff;
  --surface: #f7f8f9;
  --ink: #1a1d1f;
  --muted: #5a6069;
  --line: #e2e4e8;
  --brand: #c46a3a;
  --brand-hover: #d4783f;
  --brand-dark: #1a1d1f;
  --brand-mid: #8b7766;
  --brand-soft: #fef3eb;
  --accent: #a14b2b;
  --ok: #1e6b47;
  --warn: #9a3d2a;
  --maxw: 1400px;
  --r: 10px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lato", "Open Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 3rem, var(--maxw));
  margin: 0 auto;
  padding: 0;
}

/* ==========================================================================
   Header — Dark, bold, professional
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand-dark);
  border-bottom: 3px solid var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: "Oswald", "Lato", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.15rem;
  color: #fff;
}

.brand-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 400;
}

/* --- Nav links (desktop) --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.call-link {
  color: var(--brand) !important;
  font-weight: 700 !important;
}

/* --- Hamburger (CSS-only, mobile) --- */
.nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hamburger animation when open */
.nav-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   Buttons — Orange primary CTAs that POP
   ========================================================================== */

.btn {
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(196, 106, 58, 0.35);
}

.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 106, 58, 0.45);
}

.btn-secondary {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.btn-soft {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-soft:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

/* Dark-background button variant */
.funnel-hero .btn-primary {
  background: var(--brand);
}

.funnel-hero .btn-soft {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.hero-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2.5rem 2rem;
}

.kicker {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3 {
  font-family: "Oswald", "Lato", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.9rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

/* ==========================================================================
   Inline points / badges
   ========================================================================== */

.inline-points {
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.inline-points span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
}

.quick-card {
  padding: 1.8rem 1.5rem;
  background: #fff;
  border-left: 4px solid var(--brand);
}

.quick-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: 3.5rem 0;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading p {
  max-width: 68ch;
}

/* ==========================================================================
   Grids
   ========================================================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

/* ==========================================================================
   Feature / review / FAQ / gallery / value cards
   ========================================================================== */

.feature-card,
.review-card,
.faq-item,
.gallery-item,
.value-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  padding: 1.25rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover,
.review-card:hover,
.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-card h3 {
  color: var(--brand);
  margin-bottom: 0.55rem;
}

.value-card h3,
.review-card h3 {
  margin-bottom: 0.55rem;
}

.rating {
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.review-card p {
  color: var(--muted);
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  grid-column: span 2;
  padding: 0;
  overflow: hidden;
}

/* Center the bottom row when there are 5 items (2 remaining) */
.gallery-item:last-child:nth-child(3n + 2) {
  grid-column: 4 / span 2;
}

.gallery-item:nth-last-child(2):nth-child(3n + 1) {
  grid-column: 2 / span 2;
}

.gallery-item img {
  border-radius: var(--r);
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   Split layout
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.split .card {
  padding: 1.5rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(196, 106, 58, 0.15);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.consent input {
  width: auto;
  margin-top: 0.25rem;
}

.form-msg {
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  margin-top: 0.8rem;
  font-size: 0.93rem;
  font-weight: 600;
  display: none;
}

.form-msg.ok {
  background: #eaf6ee;
  color: var(--ok);
  display: block;
}

.form-msg.err {
  background: #fef2f0;
  color: var(--warn);
  display: block;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--brand);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 0.15rem 0;
}

.faq-item summary:hover {
  color: var(--brand);
}

/* ==========================================================================
   Footer — dark, matching header
   ========================================================================== */

.footer {
  margin-top: 2rem;
  padding: 2.5rem 0;
  color: rgba(255, 255, 255, 0.85);
  background: var(--brand-dark);
  border-top: 3px solid var(--brand);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
}

.footer h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.65);
}

.footer a {
  color: var(--brand);
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--brand-hover);
}

.footer small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* ==========================================================================
   Badge row (value cards)
   ========================================================================== */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge-row span {
  background: var(--brand-soft);
  color: var(--accent);
  border: 1px solid rgba(196, 106, 58, 0.2);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==========================================================================
   Funnel hero (go-funnel dark hero)
   ========================================================================== */

.funnel-hero {
  background: linear-gradient(140deg, var(--brand-dark) 0%, #2d2b28 60%, #3a322a 100%);
  color: #fff;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 2rem;
}

.funnel-hero p {
  color: rgba(255, 255, 255, 0.7);
}

.funnel-hero .inline-points span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ==========================================================================
   Micro note
   ========================================================================== */

.micro-note {
  font-size: 0.83rem;
  color: var(--muted);
}

/* ==========================================================================
   RESPONSIVE — Widescreen (> 1400px)
   ========================================================================== */

@media (min-width: 1401px) {
  :root {
    --maxw: 1600px;
  }

  /* Scale up typography for large screens */
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  body {
    font-size: 1.05rem;
  }

  /* Wider hero grid with more breathing room */
  .hero-grid {
    gap: 2.5rem;
  }

  .hero-copy {
    padding: 3rem 2.5rem;
  }

  /* Bigger section padding */
  .section {
    padding: 4.5rem 0;
  }

  /* Larger cards */
  .feature-card,
  .review-card,
  .value-card {
    padding: 1.75rem;
  }

  .form-wrap {
    padding: 2.5rem 2rem;
  }

  .quick-card {
    padding: 2rem;
  }

  .split .card {
    padding: 2rem;
  }

  .footer {
    padding: 3rem 0;
  }

  .footer-grid {
    gap: 2.5rem;
  }
}

/* Ultra-wide (> 1800px) — prevent content from getting too stretched */
@media (min-width: 1801px) {
  :root {
    --maxw: 1800px;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* ==========================================================================
   RESPONSIVE — Tablet (768–1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-item {
    grid-column: span 2;
  }

  /* Reset centering at tablet — last row fills naturally with 2-col */
  .gallery-item:last-child:nth-child(3n + 2),
  .gallery-item:nth-last-child(2):nth-child(3n + 1) {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .section {
    padding: 2.5rem 0;
  }
}

/* ==========================================================================
   RESPONSIVE — Mobile (< 768px)
   ========================================================================== */

@media (max-width: 768px) {
  /* --- Hamburger visible --- */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    border-radius: 8px;
  }

  .nav-links .btn {
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
  }

  .site-header .container.nav {
    position: relative;
    flex-wrap: nowrap;
  }

  /* --- Hero stacked --- */
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  .hero-copy {
    padding: 1.5rem;
  }

  /* --- Grids to single column --- */
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .gallery-item {
    grid-column: span 1;
  }

  /* Reset centering overrides at mobile */
  .gallery-item:last-child:nth-child(3n + 2),
  .gallery-item:nth-last-child(2):nth-child(3n + 1) {
    grid-column: span 1;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* --- Forms single column --- */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-wrap {
    padding: 1.25rem 1rem;
  }

  /* --- Typography scale down --- */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  /* --- Section spacing tighter --- */
  .section {
    padding: 2rem 0;
  }

  /* --- Buttons full-width on mobile --- */
  .cta-row {
    flex-direction: column;
  }

  .cta-row .btn {
    width: 100%;
    text-align: center;
  }

  /* --- Quick card adjustments --- */
  .quick-card {
    padding: 1.25rem;
  }

  /* --- Brand text smaller on mobile --- */
  .brand-name {
    font-size: 1rem;
  }

  .brand-sub {
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   RESPONSIVE — Small mobile (< 480px)
   ========================================================================== */

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, var(--maxw));
  }

  h1 {
    font-size: 1.5rem;
  }

  .hero-copy {
    padding: 1.25rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .btn {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
}
