/* ==========================================================================
   Toreno Construction — site styles
   ========================================================================== */

:root {
  --primary:        #1F3B5C;
  --primary-dark:   #142A44;
  --primary-soft:   #EAF0F7;
  --accent:         #4FA8B0;
  --accent-dark:    #357A82;
  --accent-soft:    #E3F2F4;
  --cta:            #E8861C;
  --cta-dark:       #C66E0B;
  --bg:             #FFFFFF;
  --surface:        #F6F8FB;
  --surface-2:      #EDF1F6;
  --border:         #DCE3EB;
  --ink:            #1A2333;
  --ink-2:          #3D4759;
  --muted:          #6B7280;
  --muted-2:        #94A1AE;
  --success:        #1F9D55;
  --shadow-sm:      0 1px 3px rgba(20, 30, 50, 0.06);
  --shadow-md:      0 6px 18px rgba(20, 30, 50, 0.08);
  --shadow-lg:      0 18px 40px rgba(20, 30, 50, 0.12);
  --serif:          'Playfair Display', Georgia, serif;
  --sans:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --topbar-h:       72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--primary); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.2; color: var(--primary); font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(36px, 5.5vw, 64px); letter-spacing: -1px; }
h2 { font-size: clamp(28px, 3.5vw, 42px); letter-spacing: -0.5px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Topbar ========== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--topbar-h);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
}
.brand:hover { color: var(--primary); }
.brand__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}
.brand__text {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.2px;
}
.brand__text em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-dark);
}
.brand--inv .brand__mark { background: #fff; color: var(--primary); }
.brand--inv { color: #fff; }
.brand--inv .brand__text em { color: var(--accent); }

.navmain {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.navmain a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.navmain a:hover { color: var(--primary); }
.navmain a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.15s ease;
}
.navmain a:hover::after { transform: scaleX(1); }

.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s ease;
}
.topbar__cta:hover { background: var(--primary-dark); color: #fff; }
.topbar__cta svg { width: 16px; height: 16px; }

.navtoggle {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
}
.navtoggle span { display: block; width: 22px; height: 2px; background: var(--ink); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: background 0.15s ease, transform 0.05s ease, color 0.15s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: var(--cta-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn--ghost:hover { background: var(--primary-soft); }
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ========== Hero ========== */
.hero {
  position: relative;
  background: var(--surface);
  padding: 60px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(79, 168, 176, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(232, 134, 28, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--surface) 0%, #fff 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero__kicker {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 span {
  color: var(--accent-dark);
  font-style: italic;
  font-weight: 500;
}
.hero__lede {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 540px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__reviews {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}
.hero__reviews-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--cta);
}
.hero__reviews-stars svg { width: 18px; height: 18px; }

.hero__form {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero__form-head { margin-bottom: 18px; }
.hero__form-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.hero__form h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0;
}
.hero__form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero__form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.hero__form input, .hero__form textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hero__form input:focus, .hero__form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.hero__form textarea { resize: vertical; min-height: 72px; }
.hero__form-legal {
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.5;
}

.thanks {
  text-align: center;
  padding: 24px 8px;
}
.thanks__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--success);
  display: grid; place-items: center;
  margin: 0 auto 14px;
}
.thanks__icon svg { width: 32px; height: 32px; }
.thanks h4 { font-size: 22px; margin: 0 0 6px; font-family: var(--serif); }
.thanks p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* ========== Trust bar ========== */
.trust {
  background: var(--primary);
  color: #fff;
  padding: 22px 0;
}
.trust__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.trust__item {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.trust__item strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.trust__item span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ========== Section base ========== */
.section { padding: 80px 0; }
.section--alt { background: var(--surface); }
.section__head {
  max-width: 720px;
  margin: 0 0 48px;
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.section h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-dark);
}
.section__sub {
  font-size: 17px;
  color: var(--ink-2);
  margin: 14px 0 0;
}

/* ========== Services ========== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.service__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--primary-soft);
  display: grid; place-items: center;
  color: var(--primary);
  margin-bottom: 16px;
}
.service__icon svg { width: 28px; height: 28px; }
.service h3 { margin: 0 0 10px; }
.service p { color: var(--ink-2); margin: 0 0 18px; font-size: 14.5px; }
.service__link {
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-dark);
}
.service__link:hover { color: var(--primary); }

/* ========== Planner card ========== */
/* Full-bleed wrapper: spans the whole browser width with a small gutter so the
   embedded planner has room to breathe (no cramped scrollbars). */
.planner-bleed {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px;
}
.planner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.planner-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  gap: 14px;
  flex-wrap: wrap;
}
.planner-card__steps {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.planner-card__steps > div {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.planner-card__steps span {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.planner-card__frame {
  position: relative;
  width: 100%;
  height: min(820px, 86vh);
  min-height: 560px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.planner-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.planner-card__foot {
  padding: 14px 24px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ========== Why us ========== */
.why {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.why__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.why__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.why__list li:first-child { border-top: 0; padding-top: 0; }
.why__num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--accent-dark);
  font-weight: 700;
  line-height: 1;
}
.why__list h4 { margin: 0 0 6px; color: var(--primary); }
.why__list p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

.why__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  grid-template-rows: 1fr auto;
  gap: 16px;
}
.why__img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.why__img svg { width: 100%; height: 100%; display: block; }
.why__img--big { grid-row: 1 / 3; }
.why__img--small { aspect-ratio: 1; }

/* ========== Projects ========== */
.projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.project {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.project__img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #C9D5E2 0%, #EAF0F7 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.project__img[data-img="modern-white-kitchen"] {
  background-image: url("/assets/photos/Open-Concept-Kitchen.jpeg");
}
.project__img[data-img="warm-walnut-kitchen"] {
  background-image: url("/assets/photos/Kitchen-Installation-With-Granete-Counter-Top-and-Backsplash.jpg");
}
.project__img[data-img="spa-bathroom"] {
  background-image: url("/assets/photos/Master-Bathroom.jpeg");
}
.project__img[data-img="basement-suite"] {
  background-image: url("/assets/photos/Basement-Kitchen.png");
}
.project__body { padding: 18px 20px 22px; }
.project__loc {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent-dark);
  margin: 0 0 6px;
  text-transform: uppercase;
}
.project__body h4 { margin: 0 0 8px; }
.project__body p { font-size: 13.5px; color: var(--ink-2); margin: 0; }

/* ========== Reviews ========== */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.review__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--cta);
  margin-bottom: 14px;
}
.review__stars svg { width: 18px; height: 18px; }
.review p { font-size: 15px; color: var(--ink-2); line-height: 1.65; margin: 0 0 16px; }
.review footer { font-size: 13px; color: var(--muted); }
.review footer strong { color: var(--ink); }

/* ========== FAQ ========== */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 18px 22px;
  transition: border-color 0.15s ease;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 16px;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px;
  color: var(--accent-dark);
  margin-left: 12px;
  font-weight: 400;
}
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 14px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* ========== CTA band ========== */
.cta-band {
  background: var(--primary);
  color: #fff;
  padding: 56px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: rgba(255,255,255,0.7); margin: 8px 0 0; font-size: 17px; }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== Areas ========== */
.areas {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px 24px;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
}
.areas li {
  padding: 10px 14px;
  background: var(--surface);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-align: center;
  border: 1px solid var(--border);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.areas li:hover { background: var(--primary-soft); border-color: var(--accent); color: var(--primary); }

/* ========== Footer ========== */
.footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 60px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer h5 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.12s ease;
}
.footer a:hover { color: var(--accent); }
.footer__brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.6;
  margin: 14px 0;
  max-width: 320px;
}
.footer__legal {
  font-size: 12px !important;
  color: rgba(255,255,255,0.4) !important;
  margin-top: 20px !important;
}
.footer__brand .brand { padding: 0; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .trust__items { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 720px) {
  .navmain { display: none; }
  .navtoggle { display: flex; }
  .navmain.is-open {
    display: flex;
    position: absolute;
    top: var(--topbar-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 0;
  }
  .navmain.is-open a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .navmain.is-open a:last-child { border-bottom: 0; }
  .topbar__cta span { display: none; }
  .topbar__cta { padding: 10px 12px; }
  .topbar__inner { gap: 12px; }
  .section { padding: 56px 0; }
  .services { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .planner-bleed { padding: 0 12px; }
  .planner-card__frame { height: 88vh; min-height: 600px; }
  .planner-card__head { padding: 14px 16px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* ========== Gallery (real Toreno photos) ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.gallery__item {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 6px 22px -8px rgba(15,30,70,.18);
  aspect-ratio: 4 / 3;
}
.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 16px 12px;
  background: linear-gradient(0deg, rgba(15,30,70,.78) 0%, transparent 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
