/* ============================================================
   American Logo & Sign — Shared Stylesheet
   Patriotic theme: Old Glory Red #B22234, Blue #3C3B6E, White
   ============================================================ */

:root {
  --red: #b22234;
  --red-dark: #8e1b2a;
  --blue: #3c3b6e;
  --blue-dark: #2a2952;
  --white: #ffffff;
  --cream: #f7f4ef;
  --gray-50: #f8f8f8;
  --gray-100: #f1f1f1;
  --gray-200: #e3e3e3;
  --gray-300: #cfcfcf;
  --gray-500: #6b6b6b;
  --gray-700: #3d3d3d;
  --ink: #1f1f25;
  --gold: #c8a24b;
  --shadow: 0 6px 24px rgba(31, 31, 37, 0.12);
  --shadow-lg: 0 14px 44px rgba(31, 31, 37, 0.18);
  --radius: 10px;
  --maxw: 1180px;
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  --font-display: "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 800; color: var(--blue); }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

[id] { scroll-margin-top: 130px; }

p { margin: 0 0 1em; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---- Flag accent bar (top of page) ---- */
.flag-bar {
  height: 7px;
  width: 100%;
  background:
    linear-gradient(
      to bottom,
      var(--red) 0 16.66%, var(--white) 16.66% 33.33%,
      var(--red) 33.33% 50%, var(--white) 50% 66.66%,
      var(--red) 66.66% 83.33%, var(--white) 83.33% 100%
    );
  flex-shrink: 0;
}

/* ============================================================
   Utility top bar
   ============================================================ */
.topbar {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar-item { white-space: nowrap; }
.topbar-hours { margin-left: auto; opacity: 0.8; }
.topbar-phone {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
}
.topbar-phone:hover { color: var(--gold); text-decoration: none; }
@media (max-width: 860px) {
  .topbar-place, .topbar-hours { display: none; }
  .topbar-inner { justify-content: center; }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* CSS logo / wordmark */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; }

.logo-img {
  height: 56px;
  width: auto;
  max-width: 260px;
  border-radius: 4px;
}
@media (max-width: 600px) {
  .logo-img { height: 42px; max-width: 180px; }
}

.logo-mark {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: var(--blue);
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
/* Stripes on the mark */
.logo-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    var(--red) 0 7px,
    var(--white) 7px 14px
  );
}
/* Blue cantion with stars */
.logo-mark::after {
  content: "★";
  position: absolute;
  top: 1px;
  left: 2px;
  width: 22px;
  height: 18px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--red);
  letter-spacing: 0.3px;
}
.logo-text .name .amp { color: var(--blue); }
.logo-text .tag {
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 700;
}

/* ---- Nav ---- */
.main-nav { display: flex; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-list a {
  display: block;
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-list a:hover { background: var(--gray-100); text-decoration: none; }
.nav-list a.active {
  color: var(--white);
  background: var(--red);
}
.nav-list a.active:hover { background: var(--red-dark); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}
.nav-toggle .bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.nav-toggle .bars span {
  width: 18px;
  height: 2px;
  background: var(--white);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    padding: 84px 18px 24px;
    z-index: 90;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 14px 16px; font-size: 1rem; border-bottom: 1px solid var(--gray-100); }
  .nav-list a.active { border-radius: 6px; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(31, 31, 37, 0.45);
    z-index: 80;
    display: none;
  }
  .nav-backdrop.open { display: block; }
}

/* ============================================================
   Hero (Home)
   ============================================================ */
.hero {
  position: relative;
  background: var(--blue) url("../images/storefront.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 110px 0 120px;
  overflow: hidden;
}
/* Dark blue scrim over the photo for legibility */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(42, 41, 82, 0.96) 0%,
    rgba(60, 59, 110, 0.88) 45%,
    rgba(142, 27, 42, 0.72) 100%
  );
  z-index: 0;
}
/* Subtle diagonal stripes evoking the flag (hero + page banners + CTA) */
.hero::after,
.page-banner::after,
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -35deg,
    transparent 0,
    transparent 24px,
    rgba(255, 255, 255, 0.035) 24px,
    rgba(255, 255, 255, 0.035) 48px
  );
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero .hero-sub {
  font-size: 1.15rem;
  max-width: 660px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
@media (max-width: 640px) {
  .hero { padding: 76px 0 84px; }
}

/* ---- Stats band (home) ---- */
.stats-band {
  background: var(--blue-dark);
  color: var(--white);
  border-bottom: 4px solid var(--red);
}
.stats-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stats-band .stat { padding: 26px 14px; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.stats-band .stat:last-child { border-right: none; }
.stats-band .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stats-band .label {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  margin-top: 7px;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
@media (max-width: 640px) {
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-band .stat:nth-child(2) { border-right: none; }
  .stats-band .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
}


/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
  letter-spacing: 1px;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgba(178, 34, 52, 0.35); }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-secondary:hover { background: var(--cream); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn-ghost { background: transparent; color: var(--red); border-color: var(--red); }
.btn-ghost:hover { background: var(--red); color: var(--white); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Quote CTA inside the header nav */
.btn-quote {
  margin-left: 10px;
  padding: 10px 18px;
  font-size: 0.85rem;
  align-self: center;
}
@media (max-width: 860px) {
  .btn-quote { margin: 18px 16px 0; text-align: center; }
}

/* ============================================================
   Page title banner (interior pages)
   ============================================================ */
.page-banner {
  background: var(--blue);
  color: var(--white);
  padding: 46px 0 52px;
  position: relative;
  border-bottom: 4px solid var(--red);
}
.page-banner h1 { color: var(--white); margin: 0; }
.page-banner .crumb { font-size: 0.82rem; opacity: 0.85; margin-bottom: 8px; letter-spacing: 1px; text-transform: uppercase; }
.page-banner .crumb a { color: var(--white); }

/* ============================================================
   Sections & layout
   ============================================================ */
section { padding: 60px 0; }
section.tight { padding: 36px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.section-head h2 { margin-bottom: 10px; }
.section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 14px auto 0;
}
.section-head p { color: var(--gray-500); font-size: 1.05rem; margin-top: 12px; }

/* Small red eyebrow label above headings */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
}
.section-blue .eyebrow, .cta-band .eyebrow { color: var(--gold); }

/* ---- Process steps (home) ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}
.step { text-align: center; position: relative; }
.step-num {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.step h3 { color: var(--blue); margin-bottom: 8px; }
.step p { color: var(--gray-500); margin: 0; max-width: 300px; margin: 0 auto; }
@media (min-width: 821px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 29px;
    left: calc(50% + 44px);
    width: calc(100% - 88px);
    border-top: 2px dashed var(--gray-300);
  }
}
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 30px; }
}

/* ---- Gallery preview strip (home) ---- */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gp-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  position: relative;
}
.gp-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.gp-item::after {
  content: "View Gallery";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 41, 82, 0.65);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gp-item:hover { text-decoration: none; }
.gp-item:hover img { transform: scale(1.05); }
.gp-item:hover::after { opacity: 1; }
@media (max-width: 820px) { .gallery-preview { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-preview { grid-template-columns: 1fr; } }

/* Striped divider */
.stripes {
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 24px,
    var(--white) 24px 48px
  );
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
}
.stripes.thin {
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--red) 0 12px, var(--white) 12px 24px);
}

/* ---- Welcome band (home) ---- */
.welcome {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.welcome .lead {
  font-size: 1.18rem;
  color: var(--gray-700);
}
.welcome strong { color: var(--red); }
.welcome .blue { color: var(--blue); }

/* ---- Feature strip ---- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card .icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
}
.feature-card h3 { color: var(--blue); margin-bottom: 8px; }
.feature-card p { color: var(--gray-500); margin: 0; }
@media (max-width: 820px) {
  .features { grid-template-columns: 1fr; }
}

/* ---- CTA band ---- */
.cta-band {
  position: relative;
  background: var(--red);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { font-size: 1.1rem; max-width: 560px; margin: 0 auto 22px; }
.cta-band .btn-primary { background: var(--white); color: var(--red); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.cta-band .btn-primary:hover { background: var(--cream); color: var(--red-dark); }
.cta-band .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.cta-band .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }

/* ============================================================
   Generic card grid (products, about, gallery)
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- Photo placeholder ---- */
.placeholder {
  position: relative;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-weight: 700;
  text-align: center;
  overflow: hidden;
}
.placeholder::after {
  content: attr(data-label);
  position: relative;
  z-index: 1;
  padding: 12px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.placeholder.flag {
  background: var(--blue);
}
.placeholder.flag::after { color: var(--white); }
/* For image placeholders inside cards */
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-2 { aspect-ratio: 3 / 2; }

/* ---- Product cards ---- */
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.product-card .body { padding: 0 22px 22px; }
.product-card .pc-header {
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 16px;
}
.product-card h3 { color: var(--blue); font-size: 1.12rem; margin: 0; line-height: 1.3; }
.product-card p { color: var(--gray-500); margin: 0 0 16px; font-size: 0.95rem; }
.product-card .desc { margin-bottom: 14px; }

/* Sub-items as chip tags */
.sub-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sub-items li {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  transition: background 0.15s, color 0.15s;
}
.product-card:hover .sub-items li { background: var(--cream); }
.sub-items li::before { display: none; }

/* ---- "And More" callout ---- */
.more-card {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px 22px;
}
.more-card .more-icon {
  width: 44px; height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
}
.more-card h2 { font-size: 1.35rem; margin-bottom: 6px; }
.more-card p { color: var(--gray-500); font-size: 0.98rem; max-width: 400px; margin: 0 auto 16px; }

/* ---- About layout ---- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-story-text h2 { margin-bottom: 16px; }
.about-story-text p { font-size: 1.08rem; color: var(--gray-700); margin-bottom: 1em; }
.about-story-text strong { color: var(--red); }
.about-story-text .blue { color: var(--blue); }
.about-story-media {
  display: flex;
}
.about-story-media .about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
@media (max-width: 820px) {
  .about-story { grid-template-columns: 1fr; gap: 32px; }
  .about-story-media { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .about-story-media { grid-template-columns: 1fr; }
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.about-stats .stat {
  padding: 34px 20px;
  border-right: 1px solid var(--gray-200);
}
.about-stats .stat:last-child { border-right: none; }
.about-stats .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.about-stats .label { color: var(--gray-500); font-weight: 700; margin-top: 8px; font-size: 0.92rem; }
@media (max-width: 640px) {
  .about-stats { grid-template-columns: 1fr; }
  .about-stats .stat { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .about-stats .stat:last-child { border-bottom: none; }
}

/* ============================================================
   Forms (Quote + Contact)
   ============================================================ */
.form-wrap { max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
@media (max-width: 600px) { .form-wrap { padding: 22px 18px; } }
.form-wrap h2 { margin-top: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; }
.field label { font-weight: 700; font-size: 0.88rem; color: var(--gray-700); margin-bottom: 6px; }
.field label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(60, 59, 110, 0.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .error-msg { color: var(--red); font-size: 0.78rem; margin-top: 4px; display: none; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--red); }
.field.invalid .error-msg { display: block; }

.form-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 14px; }
.form-actions { margin-top: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ============================================================
   Gallery + Lightbox
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  position: relative;
}
.gallery-item .placeholder { width: 100%; height: 100%; border: none; border-radius: 0; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 28, 0.9);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox .lb-inner {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lightbox .lb-figure {
  width: min(80vw, 760px);
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox .lb-figure img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lightbox .lb-cap {
  padding: 12px 18px;
  font-weight: 700;
  color: var(--blue);
}
.lightbox .lb-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Consolidated contact info panel */
.contact-info {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}
.contact-info h2 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}
.contact-info > p.lead { color: var(--gray-500); margin: 0 0 18px; font-size: 0.95rem; }

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.info-row:last-of-type { border-bottom: none; padding-bottom: 4px; }
.info-row .ir-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-row .ir-icon svg { width: 19px; height: 19px; }
.info-row .ir-text { display: flex; flex-direction: column; padding-top: 2px; }
.info-row .ir-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  font-weight: 700;
  margin-bottom: 3px;
}
.info-row .ir-value { font-size: 1.02rem; color: var(--ink); font-weight: 600; line-height: 1.45; }
.info-row .ir-value a { color: var(--red-dark); text-decoration: none; }
.info-row .ir-value a:hover { text-decoration: underline; }
.info-row .ir-sub { display: block; font-size: 0.85rem; color: var(--gray-500); font-weight: 400; margin-top: 3px; }

/* Social links inside contact info */
.contact-info .social-links { margin-top: 20px; }
.contact-info .social-links a {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.contact-info .social-links a:hover { transform: translateY(-2px); }
.contact-info .social-links a:nth-child(1):hover { background: #1877f2; border-color: #1877f2; }
.contact-info .social-links a:nth-child(2):hover { background: #e1306c; border-color: #e1306c; }

.map-embed {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 20px;
}
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; }

/* Contact form card */
.contact-grid .form-wrap { padding: 30px 28px; }
.contact-grid .form-wrap h2 { margin: 0 0 4px; font-size: 1.3rem; }
.contact-grid .form-wrap > p.form-intro { color: var(--gray-500); margin: 0 0 22px; font-size: 0.95rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 50px 0 0;
  margin-top: 0;
}
.site-footer .footer-flag {
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--red) 0 14px, var(--white) 14px 28px);
  margin-bottom: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 2px solid var(--red);
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.site-footer p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--gold); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}
.footer-contact .ico {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-map {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-map iframe { width: 100%; height: 220px; border: 0; display: block; }

/* ---- Social icons ---- */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  text-decoration: none;
  transition: background 0.15s, transform 0.15s, color 0.15s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.social-links a:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  text-decoration: none;
}
.social-links svg { width: 20px; height: 20px; }
.social-links a:nth-child(1):hover { background: #1877f2; }
.social-links a:nth-child(2):hover { background: #e1306c; }

/* Social icons in header (compact) */
.header-social {
  display: flex;
  gap: 8px;
}
.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--gray-100);
  color: var(--blue);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.header-social a:hover {
  color: var(--white);
  text-decoration: none;
}
.header-social a:nth-child(1):hover { background: #1877f2; }
.header-social a:nth-child(2):hover { background: #e1306c; }
.header-social svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .header-social { display: none; }
}

/* ---- Instagram profile card (no OAuth needed) ---- */
.ig-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
}
.ig-card .ig-card-top {
  background: var(--blue);
  padding: 28px 20px 22px;
  color: var(--white);
}
.ig-card .ig-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border: 3px solid rgba(255, 255, 255, 0.5);
}
.ig-card .ig-handle { font-size: 1.15rem; font-weight: 800; }
.ig-card .ig-sub { font-size: 0.85rem; opacity: 0.9; margin-top: 2px; }
.ig-card .ig-card-body { padding: 22px 20px 26px; }
.ig-card .ig-card-body p { color: var(--gray-500); margin: 0 0 18px; }
.ig-card .ig-card-body .btn { width: 100%; }

.footer-bottom {
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); margin: 0; }
.footer-bottom .footer-menu { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom .footer-menu a { font-size: 0.82rem; color: rgba(255, 255, 255, 0.8); }

/* ============================================================
   Utility
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.section-alt { background: var(--cream); }
.section-blue { background: var(--blue); color: var(--white); }
.section-blue h2, .section-blue h3 { color: var(--white); }

a.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--white);
  color: var(--blue);
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 200;
}
a.skip-link:focus { left: 8px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Scroll reveal (progressive enhancement via IntersectionObserver)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
[data-reveal].revealed { opacity: 1; transform: none; }
/* Stagger feature cards */
.features [data-reveal]:nth-child(2) { transition-delay: 0.06s; }
.features [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
/* Stagger product cards */
.grid [data-reveal]:nth-child(2) { transition-delay: 0.05s; }
.grid [data-reveal]:nth-child(3) { transition-delay: 0.1s; }
/* Stagger gallery items */
.gallery-grid [data-reveal]:nth-child(4n+2) { transition-delay: 0.03s; }
.gallery-grid [data-reveal]:nth-child(4n+3) { transition-delay: 0.06s; }
.gallery-grid [data-reveal]:nth-child(4n+4) { transition-delay: 0.09s; }

/* ============================================================
   Focus styles (keyboard-only via :focus-visible)
   ============================================================ */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus { outline: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Form fields keep their existing blue focus ring */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
}
