/* =============================
   TOKENS & RESET
   - Design tokens, base reset, global primitives
============================= */
:root {
  /* Layout tokens */
  --container: 1100px;
  --gutter: 20px;
  --radius: 12px;
  --shadow: 0 1px 0 rgba(0,0,0,.05), 0 6px 18px rgba(0,0,0,.08);

  /* Type scale */
  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.563rem;
  --step-3: 1.953rem;
  --step-4: 2.441rem;
  --step-5: 3.052rem;

  /* Spacing scale */
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --section-padding-block: 120px;

  /* Brand colors */
  --roci-blue: #031b2f; /* ROCI BLUE */
  --roci-cream: #f0eee9; /* ROCI CREAM */
  --primary-strong: #047062;

  /* Surfaces & text */
  --surface: #ffffff;
  --ink: #111;
  --muted: #333;
  --line: #e6e6e6;
  --accent: #bdbdbd;
}

@media (max-width: 960px) {
  :root { --section-padding-block: 96px; }
}
@media (max-width: 640px) {
  :root { --section-padding-block: 72px; }
}

/* ----------------------------
   Fonts
----------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* TT Ramillas (Logo Only) */
@font-face {
  font-family: 'Ramillas';
  src: url('fonts/Woff2/Ram_Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ramillas';
  src: url('fonts/Woff2/Ram_Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Typography */
h1,h2{ font-family:'Ramillas',serif; }
h3,h4,h5,h6,.logo,.nav a{ font-family:'Roboto',sans-serif; color:var(--ink); }
h1{
  font-weight:700; letter-spacing:.01em; line-height:1.05;
  /* Big hero like your reference */
  font-size:clamp(2.9rem, 8vw, 4rem);
  margin:0 0 var(--space-3);
  color: var(--ink);
}

h2{ 
  font-weight:700;
  font-size:clamp(1.8rem,3.2vw,3rem);
  margin:0 0 var(--space-3);
  color: var(--roci-blue);
  font-family: Ramillas;
}

h3{
   font-weight:500;
   font-size:var(--step-2);
   margin:0 0 var(--space-3);
   color: var(--roci-blue);
 }


p{ margin:0 0 var(--space-3); color:var(--muted); }

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { overflow-x: hidden; }

body {
  /* layout */
  margin: 0;
  width: 100%;
  overflow-x: hidden;

  /* typography */
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--ink);

  /* visual */
  background: var(--roci-cream);
}


/* =============================
   UTILITIES
   - Layout helpers and generic components
============================= */
.container { max-width: var(--container); padding-inline: var(--gutter); margin-inline: auto; }
.section {
  padding-block: var(--section-padding-block);
  border-top: 1px solid var(--line);
}
.section > *:first-child { margin-top: 0; }
.section > *:last-child { margin-bottom: 0; }
.section .container > *:first-child { margin-top: 0; }
.section .container > *:last-child { margin-bottom: 0; }

.stack { display: flex; flex-direction: column; gap: var(--space-3); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.center { text-align: center; }
.border { border: 1px solid var(--line); }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.muted { color: var(--muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: var(--step--1);
  color: var(--muted);
  font-weight: 500;
}

/* Skip link for a11y */
.skip-link {
  position: absolute; left: -9999px; top: -9999px;
}
.skip-link:focus {
  left: var(--gutter); top: var(--gutter);
  background: var(--surface);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

/* =============================
   GRID / ROWS
============================= */
.row { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.card-points {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  list-style: disc;
}
.card-points li + li { margin-top: 8px; }
.placeholder {
  background: repeating-linear-gradient(45deg, #f3f3f3, #f3f3f3 10px, #eee 10px, #eee 20px);
  border: 1px dashed var(--accent);
}

/* Column sizing via CSS var */
.row.cols-2 > *, .row.cols-3 > *, .row.cols-4 > *, .row.cols-5 > * {
  min-width: 0;
  flex: 0 1 calc((100% - (var(--cols) - 1) * var(--space-4)) / var(--cols));
}

/* Default (mobile-first) â€“ stack */
.row.cols-2 { --cols: 1; }
.row.cols-3 { --cols: 1; }
.row.cols-4 { --cols: 1; }
.row.cols-5 { --cols: 1; }

@media (min-width: 600px) {
  .row.cols-2 { --cols: 2; }
  .row.cols-3 { --cols: 2; }
  .row.cols-4 { --cols: 2; }
  .row.cols-5 { --cols: 2; }
}
@media (min-width: 960px) {
  .row.cols-3 { --cols: 3; }
  .row.cols-4 { --cols: 4; }
  .row.cols-5 { --cols: 5; }
}

/* Two-column switcher that stacks on small screens */
.switcher { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; }
.switcher > .left, .switcher > .right { flex: 1 1 420px; }

/* =============================
   ASPECT RATIO HELPER
============================= */
.ratio { position: relative; width: 100%; }
.ratio::before { content: ""; display: block; padding-bottom: var(--ratio, 56.25%); }
.ratio > * { position: absolute; inset: 0; }



/* Keep 2-cols on desktop in hero */
.hero > .container { width: 100%; }
@media (min-width: 960px) {
  .switcher { flex-wrap: nowrap; align-items: center; }
  .switcher > .left { flex: 0 1 640px; }
  .switcher > .right { flex: 1 1 auto; min-width: 420px; }
}

/* Device image on the right */
.device-shot {
  /* layout */
  width: min(700px, 48vw);
  height: auto;
  display: block;

  /* visual */
  transform: translateY(6px);
  filter: drop-shadow(0 28px 40px rgba(0,0,0,.25));
  pointer-events: none;
  user-select: none;
}
@media (max-width: 959.98px) {
  .device-shot {
    width: min(560px, 90vw);
    margin-inline: auto;
    transform: none;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,.22));
  }
}

/* =============================
   LOGO / BENEFITS / STATS
============================= */
.logo { font-size: 1.5rem; } /* footer logo text size (nav logo specifics live in nav.css) */

.logo-cell, .benefit, .stat {
  min-height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.logo-cell {
  background: #fcfcfc;
  color: var(--muted);
  font-weight: 500;
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
}
.stat .number { font-size: var(--step-4); font-weight: 700; }
.stat .label { color: var(--muted); }

/* =============================
   TESTIMONIAL
============================= */
.testimonial { background: var(--surface); }
.quote { font-size: var(--step-2); font-weight: 500; }
.attribution { color: var(--muted); }

/* =============================
   PRICING / OWNER / WHAT WE DO
============================= */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600; font-size: var(--step--1);
}

.icon-circle {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 12px;
  border: 1px solid var(--line); border-radius: 50%;
}

.pricing .container { max-width: 1100px; }
.plans { display: flex; flex-wrap: wrap; gap: var(--space-4); }

.plan {
  flex: 1 1 280px;
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.plan-header { display: flex; align-items: center; justify-content: space-between; }
.plan-title { font-weight: 700; font-size: var(--step-2); color: var(--roci-blue)}
.most {
  font-size: var(--step--1); font-weight: 700;
  background: #f7f7f7; border: 1px solid var(--line);
  padding: 4px 8px; border-radius: 999px;
}
.price-lg {
  font-size: var(--step-3);
  font-weight: 500;
  color: var(--muted);
  margin-top: var(--space-3);
  padding: var(--space-1) var(--space-2);
  border-top: 1px solid color-mix(in srgb, var(--roci-blue) 25%, #fff 75%);
  border-bottom: 1px solid color-mix(in srgb, var(--roci-blue) 25%, #fff 75%);
  background: color-mix(in srgb, var(--roci-blue) 12%, transparent);
  border-radius: var(--radius);
  align-self: stretch;
  text-align: center;
}

.feature-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; }
.tick {
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--roci-blue); font-size: 10px;
  border: 1px solid var(--line); border-radius: 50%;
  margin-top: 4px;
}
.tick svg[data-lucide="x"] { color: var(--muted); }
.feature-unavailable span:last-child { opacity: .6; }
.plan > p:last-of-type { margin-top: auto; }


/* =============================
   WHAT WE DO
============================= */

/* Section container: centered block, left-aligned text for title/intro */
.whatwedo {
  max-width: 1100px;
  margin: 0 auto;
}
.whatwedo .intro,
.whatwedo h2 {
  text-align: left;
  /* keep your existing type color; intro uses default body */
}

/* Cards: left-align content and give some breathing room */
.grid-6 .card {
  background-color: #f9f9f5;
  padding: 25px;
  text-align: left;            /* ensure text left inside cards */
}
.grid-6 .card:hover,
.grid-6 .card:focus-within {
  background-color: var(--roci-blue);
}

/* Fix the selector so it only targets h3 and p inside cards */
.grid-6 .card h3,
.grid-6 .card p {
  color: var(--roci-blue);
}
.grid-6 .card:hover h3,
.grid-6 .card:hover p,
.grid-6 .card:focus-within h3,
.grid-6 .card:focus-within p {
  color: #f9f9f5;
}

/* Icon block: top-left, not centered; still a neat square */
.svc-icon {
  color: var(--roci-blue);           /* icon color (Lucide uses currentColor) */
  font-size: 2rem;               /* icon size */
  width: 50px;
  height: 50px;
  background-color: #031b2f10;   /* subtle brand tint */
  border-radius: 10px;

  /* place it at the top-left of the card stack */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;        /* ensures it hugs the left in flex stacks */
  margin: 0 0 12px 0;            /* space below the icon */
  transition: transform 0.3s ease;
}
.grid-6 .card:hover .svc-icon,
.grid-6 .card:focus-within .svc-icon {
  color: #f9f9f5;
  background-color: rgba(255,255,255,.2);
}

.grid-6 { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.grid-6 > * { flex: 0 1 calc((100% - 2 * var(--space-4)) / 3); }
@media (max-width: 960px) { .grid-6 > * { flex: 0 1 calc((100% - var(--space-4)) / 2); } }
@media (max-width: 600px) { .grid-6 > * { flex: 0 1 100%; } }

.process-step {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--roci-blue);
}
.grid-6 .card:hover .process-step,
.grid-6 .card:focus-within .process-step {
  color: #f9f9f5;
}
.process-cta .lead {
  margin: 0;
  color: var(--roci-blue);
}
.process-cta .btn {
  align-self: flex-start;
}

/* =============================
   GALLERY + LIGHTBOX
============================= */
.gallery .intro { max-width: 68ch; }

.gallery-grid { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.gallery-grid > a {
  min-width: 0;
  flex: 0 1 calc((100% - 2 * var(--space-4)) / 3);
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 960px) { .gallery-grid > a { flex: 0 1 calc((100% - var(--space-4)) / 2); } }
@media (max-width: 600px) { .gallery-grid > a { flex: 0 1 100%; } }

.gallery-thumb { display: block; width: 100%; height: 100%; }
.gallery-thumb .placeholder { border: 0; }

.lightbox {
  /* layout */
  position: fixed; inset: 0; display: grid; place-items: center; padding: var(--space-4);

  /* visual */
  background: rgba(0,0,0,.6); opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.lightbox:target { opacity: 1; pointer-events: auto; }
.lightbox .box { width: min(1100px, 96vw); }
.lightbox .frame {
  overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: 20px;
}
.lightbox .close {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  color: #fff; font-weight: 700;
  background: rgba(0,0,0,.35);
  border: 1px solid #fff; border-radius: 999px;
  backdrop-filter: blur(2px);
}
.lightbox .close:focus { outline: 2px solid #fff; outline-offset: 2px; }

/* =============================
   FORMS
============================= */
details {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-3);
}
details + details { margin-top: var(--space-3); }
summary { cursor: pointer; font-weight: 600; }

.form-grid { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.form-grid > * { flex: 1 1 240px; }
.form-grid > .full-width {
  flex: 1 1 100%;
  min-width: 100%;
}
label { font-weight: 500; display: inline-block; margin-bottom: 6px; }
input, textarea {
  width: 100%; padding: 10px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }

/* =============================
   PREFERENCES
============================= */
@media (prefers-reduced-motion: reduce) {
  .hamburger span { transition: none; }
}

/* =============================
   RECENT PROJECTS – floating mockups
============================= */
.projects {
  background: var(--roci-cream);
  padding-inline: clamp(var(--space-3), 4vw, var(--space-5));
  border-top: none;
}

.projects .eyebrow,
.projects h2 {
  color: var(--roci-blue);
}

.projects-intro,
.projects .intro {
  max-width: 70ch;
  color: rgba(3, 27, 47, 0.82);
  margin-bottom: clamp(var(--space-2), 2vw, var(--space-3));
}

.projects-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(var(--space-2), 2.5vw, var(--space-3));
  align-items: start;
}

.project-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(var(--space-1), 1.5vw, var(--space-2));
  align-items: flex-start;
  color: var(--roci-blue);
}

.project-media-link {
  display: block;
  width: 100%;
}

.project-mockup {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  min-height: 210px;
  position: relative;
  margin: 0 0 4px 0;
}

.project-mockup img {
  width: clamp(240px, 28vw, 330px);
  height: auto;
  position: relative;
  z-index: 1;
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  align-items: flex-start;
  width: 100%;
  text-align: left;
}

.project-title {
  margin: 0;
  font-weight: 700;
  color: var(--roci-blue);
}

.project-blurb {
  margin: 0;
  color: rgba(3, 27, 47, 0.78);
  line-height: 1.6;
  max-width: 34ch;
}

.project-link {
  align-self: flex-start;
  gap: 8px;
  font-weight: 600;
  margin-top: 4px;
  color: var(--roci-blue);
}

.project-link i {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* =============================
   PERFORMANCE (inverted blue)
============================= */
.performance {
  background: var(--roci-blue);
  color: var(--roci-cream);
  padding-inline: 0;
}
.performance .eyebrow {
  color: rgba(240, 238, 233, 0.8);
}

/* Two-column layout (mobile-first) */
.performance .switcher {
  align-items: flex-start;
  gap: var(--space-6);
}
.performance .left  { flex: 1 1 520px; min-width: 300px; }
.performance .right { flex: 1 1 560px; min-width: 320px; }
@media (max-width: 960px) {
  .performance .left,
  .performance .right { flex: 1 1 100%; }
}

/* Headline + accent word */
.performance h2 {
  color: var(--roci-cream);
  line-height: 1.1;
  margin: 6px 0 var(--space-3);
}
.performance .accent {
  color: var(--roci-cream);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}

/* Regular paragraph tone on tan */
.performance .muted-off {
  color: rgba(240, 238, 233, 0.85);
  max-width: 64ch;
}

/* 3 big stats */
.perf-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: var(--space-4);
  margin: var(--space-4) 0 var(--space-3);
}
@media (max-width: 680px) {
  .perf-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .perf-stats { grid-template-columns: 1fr; }
}
.perf-stats .stat { display: grid; align-content: start; gap: 6px; }
.perf-stats .value {
  color: var(--roci-cream);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw + 1rem, 3.25rem);
  line-height: 1;
}
.perf-stats .label { color: rgba(240, 238, 233, 0.8); }

/* Benefits list */
.perf-list { display: grid; gap: var(--space-3); margin: var(--space-3) 0 var(--space-4); }
.perf-list .row {
  display: grid;
  grid-template-columns: 26px 1fr; /* icon | text */
  column-gap: 12px;
  align-items: start;
}
.perf-list i {
  color: var(--roci-cream);
  font-size: 20px;         /* Lucide uses currentColor + font-size */
  line-height: 1;
  transform: translateY(2px);
}

.perf-list strong {
  color: var(--roci-cream);
  font-weight: 700;
}
.perf-list p {
  margin: 4px 0 0 0;
  color: rgba(240, 238, 233, 0.8);
}

/* Right side frame */
.perf-frame {
  background: var(--roci-cream);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
  overflow: hidden;
  margin: 0;
}
.perf-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* =============================
   BUTTONS
============================= */
/* Reset native button styles so our .btn wins */
button.btn,
input[type="submit"].btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

/* Apply unified .btn visuals to anchors AND buttons */
.btn,
button.btn,
input[type="submit"].btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  color: var(--roci-blue);
  border: 1px solid var(--roci-blue);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

/* Hover/focus */
.btn:hover,
.btn:focus {
  background: var(--roci-blue);
  color: var(--roci-cream);
  border-color: var(--roci-blue);
  text-decoration: none;
}
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--roci-blue) 20%, black 10%); outline-offset: 3px; }

/* Inverted variant (for dark/hero surfaces) */
.btn--inverted { color: var(--roci-cream); border-color: var(--roci-cream); }
.btn--inverted:hover,
.btn--inverted:focus { background: var(--roci-cream); color: var(--roci-blue); border-color: var(--roci-cream); }

/* Keep desktop intrinsic width inside .stack, but go full-width on mobile */
.stack > .btn { align-self: start; }
@media (max-width: 600px) { .btn { width: 100%; } }

/* =============================
   HERO
   - Dark textured green with large serif H1
============================= */
.hero {
  /* layout */
  padding-block: var(--section-padding-block);
  /* visual */
  background-color: var(--roci-blue); /* KEEP: Base color for fallback and blending */
  border-top: none;
  /* Add z-index to ensure content stacks above the pseudo-element */
  z-index: 1; 
}

.hero::before {
  content: ""; /* REQUIRED for pseudo-elements to display */
  position: absolute; /* Allows it to cover the parent */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;


  /* Send the overlay behind the main element's content */
  z-index: -1; 
}

/* kicker line above H1 */
.hero .kicker { color: #fff; opacity: .85; }

/* Big serif headline (TT Ramillas) */
.hero h1 {
  /* typography */
  font-family: 'Ramillas', serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  font-size: clamp(2.8rem, 7vw, 4rem);
  color: var(--roci-cream);

  /* layout */
  margin: 0 0 var(--space-3);
}

/* Supporting hero paragraph (Inter/Roboto) */
.lead {
  font-size: clamp(1.05rem, 1.1vw + .8rem, 1.15rem);
  color: var(--roci-cream);
}

/* =============================
   NAVIGATION â€” Rocinante
   Purpose: pillbox nav with mobile overlay
   Conventions: layout â†’ typography â†’ visual â†’ misc
============================= */

/* ---- Header wrapper (transparent so hero shows behind the pill) ---- */
header {
  /* layout */
  position: relative;
  width: 100%;
  z-index: 20;

  /* visual */
  padding-top: 25px;      /* spacing from top edge */
  background: var(--roci-blue);
}

/* ---- Constrain pill to page container (1400px max with gutters) ---- */
/* header .container uses the global `.container` utility from styles.css */

/* ---- Pillbox surface ---- */
.nav-surface {
  /* layout */
  width: 100%;                     /* fill the container width */
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 28px;              /* consistent height across scales */
  border-radius: 999px;

  /* visual */
  background: var(--roci-cream);           /* light capsule */
  border: 1px solid rgba(25, 63, 58, 0.20);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  color: var(--roci-blue);
  transition: border-radius .3s ease, padding .3s ease, background .3s ease, box-shadow .3s ease, border-color .3s ease;
}

/* keep children from shrinking (prevents pill height jumps) */
.nav-surface > * {
  flex-shrink: 0;
}

/* ---- Logo (left-anchored) ---- */
.logo {
  /* layout */
  position: relative;
  margin-right: auto;              /* push everything else to the right */
  display: inline-flex;
  align-items: center;
  gap: 8px;

  /* typography */
  font-family: 'Ramillas', serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--roci-blue);
  }

.logo svg,
.logo .logo-icon {
  /* layout */
  width: 20px;
  height: 20px;
  display: inline-block;

  /* visual */
  transform: translateY(1px);      /* optical baseline nudge */
}
.logo svg { stroke: var(--roci-blue); }

/* ---- Link row (desktop defaults) ---- */
.links a {
  /* layout */
  position: relative;
  
  /* Add a transparent border on the bottom */
  border-bottom: 2px solid transparent;

  /* typography */
  font-weight: 600;
  color: var(--roci-blue);
  text-decoration: none;

  /* misc */
  /* Make the border-color change smoothly */
  transition: border-color 0.25s ease; 
}

.links a:hover {
  /* On hover, change the border color to make the underline appear */
  border-bottom-color: var(--roci-blue); 
}

/* ---- Hamburger toggle (hidden on desktop) ---- */
#nav-toggle {
  /* misc */
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hamburger {
  /* layout */
  display: none;                   /* shown via media query */
  width: 22px;
  height: 16px;
  margin-left: 16px;
  z-index: 1000;
  display: none;                   /* default hidden until <= 1024px */
  flex-direction: column;
  justify-content: space-between;

  /* visual */
  cursor: pointer;
  transform: translateY(2px);      /* tweak to center vertically in pill */
}

.hamburger span {
  /* layout */
  height: 2px;

  /* visual */
  background: var(--roci-blue);        /* brand-colored bars */
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* bars â†’ X when checked */
#nav-toggle:checked + label.hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#nav-toggle:checked + label.hamburger span:nth-child(2) {
  opacity: 0;
}
#nav-toggle:checked + label.hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================
   NAVIGATION RESPONSIVE
============================= */

/* ---- Tablet & Mobile (â‰¤ 1024px) ---- */
@media (max-width: 1024px) {
  .nav-surface {
    /* layout */
    max-width: var(--container);
    width: calc(100% - 32px);      /* keep a small outer gutter */
    margin-inline: auto;
    padding: 14px 24px;
    border-radius: 999px;
  }

  .hamburger {
    display: inline-flex;          /* show hamburger */
    margin-left: auto;             /* pin to far right of pill */
  }

  .links {
    display: none;                 /* hide inline links in pill */
  }

  /* Fullscreen overlay menu when toggled */
  #nav-toggle:checked ~ .links {
    /* layout */
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 84px 24px 32px;
    z-index: 999;
    overflow-y: auto;

    /* visual */
    background: var(--roci-cream);
  }

  /* Mobile panel logo (real element inside .links) */
  .links .menu-logo {
    /* layout */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;

    /* typography */
    font-family: 'Ramillas', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--roci-blue);
  }
  .links .menu-logo svg {
    stroke: var(--roci-blue);
    transform: translateY(1px);
  }

  /* Mobile link rows (full-width) */
  .links a {
    display: block;
    width: 100%;
    padding: 12px 0;
    color: var(--roci-blue);
    font-weight: 600;
    text-decoration: none;
  }

  /* disable desktop underline animation on mobile */
  .links a::after { display: none; }
}

/* ---- Desktop (â‰¥ 1025px) ---- */
@media (min-width: 1025px) {
  .hamburger { display: none; }    /* hide hamburger */

  .links {
    /* layout */
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: var(--space-4);
    position: static;
    padding: 0;

    /* visual */
    background: transparent;
  }

  .links .menu-logo { display: none; }  /* mobile-only logo */
}

/* ----------------------------
   Offer Section (Owner/Pricing)
----------------------------- */
.section-offer {
  background: var(--roci-blue);
  color: #fff;
  padding-inline: 16px;
}
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}
.offer-photo { position: relative; }
.offer-photo img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}
.photo-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #fff;
}
.photo-caption strong {
  font-family: 'Ramillas', serif;
  font-weight: 700;
}
.section-eyebrow.light {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 0.9rem;
  color: #b7d0cb;
  margin-bottom: 0.75rem;
  display: inline-block;
}
.offer-content h2 {
  font-family: 'Ramillas', serif;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #fff;
}
.offer-content p {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0 0 1.8rem;
  color: #e8f2ef;
}
.offer-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
  margin-bottom: 2rem;
}
.offer-list div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.offer-list i {
  flex-shrink: 0;
  color: #fff;
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}
.offer-list span {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #f8f8f8;
}

/* Responsive: stack columns on small screens and place photo below content */
@media (max-width: 900px) {
  .offer-grid {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    gap: 28px;
  }

  /* default source order: content then photo. Use .offer-photo--below if markup order differs */
  .offer-photo { order: 2; }
  .offer-content { order: 1; }

  /* make image a reasonable size when stacked */
  .offer-photo img { width: 100%; height: auto; border-radius: 18px; }
}

/* ----------------------------
   Web Design Testimonial
----------------------------- */
.testimonial-section {
  background: var(--roci-blue);
  color: var(--roci-cream);
  border-top: none;
}
.testimonial-section .container {
  padding-block: clamp(24px, 3vw, 56px);
}
.testimonial-section__shell {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  gap: var(--space-4);
}
.testimonial-section__quote {
  margin: 0;
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.4;
  color: #fff;
  font-family: 'Ramillas', serif;
  font-weight: 600;
}
.testimonial-section__quote p {
  margin: 0;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  line-height: 1.5;
  color: #f9f6ef;
  font-style: italic;
}
.testimonial-section p {
  color: #e5efee;
}
.testimonial-section__author {
  margin: 0;
  font-size: var(--step-1);
}
.testimonial-section__author strong {
  color: #fff;
  font-size: var(--step-1);
}
.testimonial-section__author span {
  color: color-mix(in srgb, #ffffff 70%, var(--roci-blue));
  font-size: var(--step-0);
}

/* =============================
   FOOTER
============================= */
footer.site-footer {
  background: #031b2f;
  color: #ecf2ff;
}

.footer-top {
  padding: clamp(48px, 7vw, 90px) 0;
}

.footer-shell {
  display: grid;
  column-gap: clamp(16px, 3vw, 32px);
  row-gap: clamp(24px, 4vw, 60px);
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  align-items: flex-start;
}

@media (max-width: 960px) {
  .footer-shell {
    grid-template-columns: 1fr;
  }
}

footer h4 {
  margin: 0 0 var(--space-3);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
}

footer p {
  color: rgba(236,242,255,.85);
  max-width: 36ch;
  line-height: 1.6;
}

footer a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease;
  opacity: .9;
}
footer a:hover {
  opacity: 1;
}

.site-footer .logo {
  margin-right: 0;
  color: #fff;
  font-size: 1.35rem;
}
.site-footer .logo svg {
  stroke: #fff;
}
.footer-logo {
  margin-bottom: var(--space-3);
}

.footer-brand .footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-4);
  padding: 14px 32px;
  border-radius: 999px;
  background: transparent;
  color: var(--roci-cream);
  border: 1px solid var(--roci-cream);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.footer-brand .footer-cta:hover {
  background: var(--roci-cream);
  color: var(--roci-blue);
  border-color: var(--roci-cream);
}

.footer-links-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-grid a {
  font-weight: 500;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-weight: 500;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-contact-list i {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}
.footer-contact-list a {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 24px 0;
  font-size: var(--step--1);
  color: rgba(236,242,255,.75);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-legal span {
  color: rgba(236,242,255,.6);
}
@media (max-width: 640px) {
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-legal {
    gap: 8px;
  }
}

/* =============================
   WEB DESIGN PAGE-SPECIFIC STYLES
============================= */

/* Two-column split (image left / copy right), 700 / 700 inside 1400 */
.custom-code {
  background: var(--roci-cream);
  color: var(--ink);
  padding: clamp(40px, 6vw, 72px) 0;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}
.image-col { display: flex; justify-content: center; }
.profile-img {
  width: 100%;
  max-width: 640px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}
.text-col h2 { color: var(--roci-blue); margin-bottom: .5rem; }
.text-col p { margin: 0 0 1rem 0; }
.why-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .5rem;
}
.why-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 8px;
  align-items: start;
  color: var(--ink);
}
.why-list i { color: var(--roci-blue); width: 18px; height: 18px; transform: translateY(2px); }

/* Standard content sections */
.wd-section { background: var(--roci-cream); color: var(--ink); padding: clamp(36px, 5vw, 64px) 0; }
.wd-section h2 { color: var(--roci-blue); margin-bottom: .6rem; }
.wd-section p { max-width: 80ch; }

/* Responsive */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; text-align: left; }
  .image-col { order: -1; }
  .profile-img { max-width: 420px; margin: 0 auto var(--space-3); }
}

/* =============================
   FAQ Accordions
============================= */
.faq-plan-intro {
  max-width: 60ch;
  color: var(--muted);
}
.faq-toggle-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--space-2);
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  margin-top: var(--space-3);
}
.faq-toggle {
  border: 1px solid color-mix(in srgb, var(--roci-blue) 35%, #fff 65%);
  background: transparent;
  color: var(--roci-blue);
  font-weight: 600;
  font-size: var(--step-0, 1rem);
  padding: .35rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.faq-toggle.is-active {
  background: var(--roci-blue);
  color: var(--roci-cream);
  border-color: var(--roci-blue);
  box-shadow: var(--shadow);
}
.faq-toggle:not(.is-active):hover,
.faq-toggle:not(.is-active):focus-visible {
  border-color: color-mix(in srgb, var(--roci-blue) 45%, #fff 55%);
  background: color-mix(in srgb, var(--roci-blue) 8%, #fff 92%);
}
.faq-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--roci-blue) 25%, #000 10%);
  outline-offset: 3px;
}
.faq-panels {
  width: 100%;
  margin-top: var(--space-3);
}
.faq-panel {
  display: none;
}
.faq-panel.is-active {
  display: block;
}
.faq-panel[hidden] {
  display: none;
}
.faq-panel-note {
  margin-bottom: var(--space-2);
  color: var(--muted);
  font-size: 0.95rem;
}
.faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: var(--space-3);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--roci-blue) 30%, #fff 70%);
  box-shadow: var(--shadow);
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 600;
  font-size: var(--step-1);
  color: var(--roci-blue);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--roci-blue);
  transition: transform .2s ease;
}
.faq-item[open] summary::after {
  content: "-";
  transform: rotate(0deg);
}
.faq-item summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--roci-blue) 25%, #000 10%);
  outline-offset: 4px;
}
.faq-answer {
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  will-change: max-height, opacity;
  transition: max-height .3s ease, opacity .3s ease;
}
.faq-item[open] .faq-answer {
  margin-top: var(--space-3);
  max-height: 1000px;
  opacity: 1;
}
.faq-answer p {
  margin: 0;
  color: var(--muted);
}
.faq-answer p + p {
  margin-top: var(--space-2);
}
.faq-answer ul {
  margin: var(--space-2) 0 0;
  padding-left: var(--space-3);
}
.faq-answer li {
  margin-bottom: .35rem;
}
