/* Gallo's Kitchen & Bath Designs - hand-built static, August 2026 */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/PlusJakartaSans-var.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/PlusJakartaSans-var-latinext.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #14314d;
  --navy-2: #13304e;
  --blue: #23568a;
  --blue-hover: #1c4570;
  --navy-hover: #0e2237;
  --pale: #e6f3fa;
  --light: #f1f1f1;
  --line: #e5e5e5;
  --gray: #999999;
  --gray-aa: #737373;
  --ink: #555555;
  --font: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
  --container: 1248px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink);
  background: #fff url('/wp-content/uploads/2024/04/lines-body-bg.png') top center repeat;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { font-weight: 700; text-transform: capitalize; text-wrap: balance; margin: 0 0 .5em; }
p { text-wrap: pretty; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* Buttons: flat with folded corner, matching Avada button-default */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  position: relative;
  font: 700 16px/1 var(--font);
  color: #fff; text-decoration: none;
  padding: 20px 28px;
  border: 0; cursor: pointer;
  transition: background-color .2s ease;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn::after {
  content: ""; position: absolute; right: 0; bottom: 0;
  border-style: solid; border-width: 0 0 14px 14px;
  border-color: transparent transparent rgba(255,255,255,.35) transparent;
}
.btn-blue { background: var(--blue); }
.btn-blue:hover { background: var(--blue-hover); }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-hover); }
.btn-full { width: 100%; }

/* Top bar */
.topbar { background: var(--light); font-size: 14px; line-height: 1.6; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.topbar-contact { margin: 0; display: flex; gap: 28px; flex-wrap: wrap; color: var(--navy); }
.topbar-contact a { color: var(--navy); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.topbar-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.topbar-social a, .footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 1px solid currentColor; border-radius: 3px;
  color: var(--navy);
}
.topbar-social svg, .footer-social svg { width: 14px; height: 14px; }
.topbar-social a:hover { color: var(--blue); }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 4px rgba(20,49,77,.08); }
.header-inner { display: flex; align-items: center; gap: 32px; padding-top: 14px; padding-bottom: 14px; }
.site-logo { flex: none; }
.site-nav { flex: 1; }
.menu { list-style: none; margin: 0; padding: 0 32px 0 0; display: flex; gap: 44px; justify-content: flex-end; }
.menu a { font-size: 16px; color: var(--navy); text-decoration: none; }
.menu a:hover { color: var(--blue); }
.header-cta { flex: none; padding: 20px 26px; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  background-image: linear-gradient(180deg, rgba(17,17,17,.71) 0%, rgba(9,23,37,.6) 100%), url('/wp-content/uploads/2025/01/gallos-kitchen-design.jpg');
  background-size: cover; background-position: center;
  text-align: center; color: #fff;
  padding: clamp(80px, 9.7vw, 140px) 24px clamp(110px, 15.3vw, 220px);
}
.hero-inner { max-width: 1040px; margin: 0 auto; }
.hero-kicker { font-size: clamp(15px, 1.25vw, 18px); font-weight: 300; letter-spacing: .04em; text-transform: capitalize; margin: 0 0 20px; opacity: .92; }
.hero h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.2; letter-spacing: -0.015em; margin: 0; text-shadow: 0 2px 28px rgba(0,0,0,.35); }

/* CTA band */
.cta-band { display: flex; position: relative; background: var(--navy); }
.cta-half {
  flex: 1; display: flex; align-items: center; justify-content: center;
  min-height: 57px; font: 700 16px/1 var(--font);
  color: #fff; text-decoration: none;
  transition: filter .2s ease;
}
.cta-half:hover { filter: brightness(1.12); }
.cta-blue { background: var(--blue); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 100%, 0 100%); margin-right: -28px; }
.cta-navy { background: var(--navy); }

/* Logo band */
.logo-band { background: var(--blue); position: relative; overflow: hidden; }
.logo-band::before {
  content: ""; position: absolute; inset: 0;
  background: url('/assets/masks/mask-row-5.svg') top center / cover no-repeat;
  pointer-events: none;
}
.marquee { overflow: hidden; position: relative; padding: 34px 0; }
.marquee-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 48px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track li { flex: none; }
.marquee-track img { width: auto; height: 138px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 24px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track li.marquee-dup { display: none; }
}

/* Features */
.features { background: var(--navy); color: #fff; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  padding-top: 100px; padding-bottom: 80px;
}
.feature h4 { font-size: 24px; line-height: 1.4; color: var(--gray); margin-bottom: 12px; }
.feature p { font-weight: 300; line-height: 1.8; margin: 0; }

/* Showcase bands */
.showcase { position: relative; padding: 57px 0 70px; }
.showcase::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url('/assets/masks/mask-row-7.svg') center / cover no-repeat;
}
.showcase-kitchen::before { background-image: url('/assets/masks/mask-row-8.svg'); }
.showcase-grid { display: grid; grid-template-columns: 1fr minmax(300px, 416px); align-items: center; position: relative; }
.showcase-photo { margin: 0; grid-column: 1; grid-row: 1; max-width: 749px; width: 100%; }
.showcase-card {
  grid-column: 2; grid-row: 1;
  background: var(--navy); color: #fff;
  padding: 48px 44px; margin-left: -60px; margin-bottom: -90px;
  box-shadow: 0 18px 40px rgba(20,49,77,.25);
}
.showcase-grid-flip { grid-template-columns: minmax(300px, 416px) 1fr; }
.showcase-grid-flip .showcase-photo { grid-column: 2; justify-self: end; }
.showcase-grid-flip .showcase-card { grid-column: 1; margin-left: 0; margin-right: -60px; margin-bottom: 0; margin-top: -90px; z-index: 1; }
.showcase-card h4 { font-size: 26px; line-height: 1.35; margin-bottom: 14px; }
.showcase-card p { font-weight: 300; line-height: 1.75; margin: 0 0 26px; }

/* Reviews */
.reviews { background: var(--blue); position: relative; color: #fff; }
.reviews::before {
  content: ""; position: absolute; inset: 0;
  background: url('/assets/masks/mask-row-9.svg') center / cover no-repeat;
  pointer-events: none;
}
.reviews-inner { position: relative; max-width: 984px; padding-top: 95px; padding-bottom: 60px; }
.reviews h3 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.4; text-align: center; margin-bottom: 36px; }

/* Gallery */
.gallery { padding: 81px 0 60px; }
.gallery h2 { font-size: clamp(34px, 3.5vw, 50px); line-height: 1.3; color: var(--navy); text-align: center; margin-bottom: 40px; }
.gallery-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.gallery-grid button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: opacity .2s ease; }
.gallery-grid button:hover img { opacity: .85; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(90vw, 1000px); }
.lightbox::backdrop { background: rgba(9,23,37,.85); }
.lightbox img { max-height: 85vh; width: auto; max-width: 100%; margin: 0 auto; }
.lightbox-close {
  position: absolute; top: 8px; right: 8px; z-index: 1;
  width: 40px; height: 40px; border: 0; border-radius: 3px;
  background: rgba(20,49,77,.8); color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}

/* Get in touch */
.git { background: var(--navy-2); color: #fff; position: relative; }
.git::before {
  content: ""; position: absolute; inset: 0; opacity: .2;
  background: url('/assets/masks/pattern-row-11.svg') top center / 100% auto;
  pointer-events: none;
}
.git::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 55%, rgba(9,23,37,.45) 55.2%);
}
.git-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 449px 1fr; gap: 100px;
  padding-top: 100px; padding-bottom: 100px;
}
.git h3 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.4; margin-bottom: 22px; }
.git-address { font-weight: 300; margin: 0 0 26px; }
.git-links { margin: 0 0 30px; }
.git-links a { color: #fff; font-weight: 700; font-size: 18px; text-underline-offset: 4px; }
.git-map { max-width: 100%; }
.git-card { background: #fff; color: var(--ink); padding: 48px 52px; align-self: start; }
.git-card h4 { font-size: 26px; color: var(--navy); margin-bottom: 24px; }
.form-row { margin: 0 0 22px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.git-card input, .git-card textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line);
  font: 400 15px/1.6 var(--font); color: var(--ink);
  padding: 10px 2px; background: transparent; resize: vertical;
}
.git-card ::placeholder { color: var(--gray-aa); opacity: 1; }
.git-card input:focus, .git-card textarea:focus { outline: none; border-bottom-color: var(--blue); }
.form-alert { padding: 12px 16px; font-size: 15px; margin: 0 0 18px; }
.form-alert-success { background: #e7f6ec; color: #1e5631; border: 1px solid #b7e0c3; }
.form-alert-error { background: #fdecea; color: #8a1f11; border: 1px solid #f5c6c0; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.1fr 1.1fr 1fr 1fr; gap: 48px;
  padding-top: 80px; padding-bottom: 40px; align-items: start;
}
.footer-col h5 { font-size: 17px; margin-bottom: 14px; }
.footer-col p { font-weight: 300; font-size: 16px; margin: 0; }
.footer-col a { color: #fff; text-underline-offset: 3px; }
.footer-social { list-style: none; margin: 24px 0 0; padding: 0; display: flex; gap: 10px; }
.footer-social a { color: #98a2ab; border-color: rgba(152,162,171,.5); }
.footer-social a:hover { color: #fff; }
.footer-badges { display: grid; gap: 22px; justify-items: start; }
.footer-copy { text-align: center; color: #98a2ab; font-size: 14px; margin: 0; padding: 26px 24px 34px; }
.footer-copy a { color: #98a2ab; }

/* Tablet */
@media (max-width: 1024px) {
  .menu { gap: 28px; padding-left: 10px; }
  .git-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .showcase-card { margin-bottom: 0; }
  .showcase-grid-flip .showcase-card { margin-top: 0; }
}

/* Mobile */
@media (max-width: 640px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .topbar-contact { flex-direction: column; gap: 2px; }
  .topbar-social { display: none; }

  .header-inner { flex-wrap: wrap; gap: 12px; }
  .site-nav { order: 3; flex-basis: 100%; }
  .nav-toggle {
    display: block; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .header-cta { display: none; }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    content: ""; display: block; position: absolute; left: 10px; right: 10px; height: 2px;
    background: var(--navy); transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle-bar { top: 21px; }
  .nav-toggle-bar::before { top: -8px; left: 0; right: 0; }
  .nav-toggle-bar::after { top: 8px; left: 0; right: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-8px) rotate(-45deg); }
  .menu { display: none; flex-direction: column; gap: 0; padding: 0 0 8px; }
  .menu.open { display: flex; }
  .menu li { border-top: 1px solid var(--light); }
  .menu a { display: block; padding: 12px 4px; }

  .hero { padding: 80px 24px 120px; }

  .cta-band { flex-direction: column; }
  .cta-blue { clip-path: none; margin-right: 0; }

  .marquee-track img { height: 96px; }
  .features-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 70px; padding-bottom: 60px; }

  .showcase { padding: 40px 0; }
  .showcase-grid, .showcase-grid-flip { grid-template-columns: 1fr; }
  .showcase-photo, .showcase-grid-flip .showcase-photo { grid-column: 1; grid-row: 1; }
  .showcase-card, .showcase-grid-flip .showcase-card {
    grid-column: 1; grid-row: 2; margin: -40px 20px 0; z-index: 1;
  }

  .reviews-inner { padding-top: 60px; }
  .gallery { padding: 60px 0 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .git-grid { padding-top: 70px; padding-bottom: 70px; }
  .git-card { padding: 32px 24px; }
  .form-row-split { grid-template-columns: 1fr; gap: 22px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 60px; }
}
