/* Team A Floors — warm, family-run one-page site */

:root {
  /* Primary brand identity */
  --navy: #1c2b3a;
  --navy-light: #2b405a;
  --gold: #c8952f;
  --gold-dark: #a97a1f;
  --gold-soft: #f6e7c6;

  /* Warm supporting palette — the "at home" feel */
  --clay: #d97a45;          /* friendly terracotta — secondary CTA accent */
  --clay-dark: #c05f2c;
  --clay-soft: #f7e0d1;
  --cream: #fbf7f0;         /* soft off-white section background */
  --cream-deep: #f3ead9;    /* warmer cream for alternating bands */
  --wood: #a9743f;          /* warm wood tone */
  --wood-light: #d8b78a;
  --wood-dark: #855b2e;

  /* Neutrals / text */
  --ink: #2c2a27;           /* warm near-black body text */
  --gray-mid: #6f6a63;      /* warm muted text */
  --line: #e7ddcd;          /* warm hairline border */
  --white: #ffffff;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(28, 43, 58, 0.06);
  --shadow-md: 0 10px 30px rgba(28, 43, 58, 0.10);
  --max-width: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.01em; }

/* ---------- Header ---------- */
header.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  color: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo { display: flex; align-items: center; }
.logo img {
  height: 50px;
  width: auto;
  max-height: 50px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}

nav.main-nav a { color: var(--navy); padding: 0.2rem 0; transition: color 0.15s ease; }
nav.main-nav a:hover { color: var(--clay); }

nav.main-nav a.lang-switch {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: 0.6rem 0.95rem 0.42rem;
  font-size: 0.85rem;
  color: var(--gold-dark) !important;
  transition: background 0.15s ease, color 0.15s ease;
}
nav.main-nav a.lang-switch:hover { background: var(--gold); color: var(--navy) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(217, 122, 69, 0.35);
}
.btn-primary:hover { background: var(--clay-dark); box-shadow: 0 10px 26px rgba(192, 95, 44, 0.42); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.75);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px rgba(200, 149, 47, 0.32); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  padding: 5rem 0 5.5rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 480px at 15% -10%, rgba(200,149,47,0.28), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(217,122,69,0.30), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 55%, #24384f 100%);
}
/* subtle wood-plank texture overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.028) 0px,
    rgba(255,255,255,0.028) 1px,
    transparent 1px,
    transparent 118px
  );
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(200, 149, 47, 0.16);
  border: 1px solid rgba(200, 149, 47, 0.35);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: 2.7rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.hero .tagline {
  font-size: 1.25rem;
  color: #f0d79a;
  margin-bottom: 1.4rem;
  font-weight: 600;
}

.hero p.sub {
  max-width: 640px;
  margin: 0 auto 2.2rem;
  color: #dbe1e9;
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--cream-deep);
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.trust-strip .wrap {
  display: flex;
  justify-content: center;
  gap: 1.2rem 2.5rem;
  flex-wrap: wrap;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}
.trust-strip .item { display: flex; align-items: center; gap: 0.5rem; }
.trust-strip .item svg { flex-shrink: 0; }

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
.section-cream { background: var(--cream); }
.section-deep { background: var(--cream-deep); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
section h2 {
  font-size: 2rem;
  margin-bottom: 0.85rem;
  color: var(--navy);
}
.section-sub {
  color: var(--gray-mid);
  font-size: 1.05rem;
}
.eyebrow-c {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 0.6rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* tactile material swatch strip on top of each card */
.swatch { height: 72px; width: 100%; position: relative; }
.swatch-lvt {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.35) 0 2px, transparent 2px 44px),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.06) 0 2px, transparent 2px 44px),
    linear-gradient(135deg, #cbb18d, #a98a63);
}
.swatch-vinyl {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.22) 0 3px, transparent 3px 20px),
    linear-gradient(135deg, #9fb4b0, #6f918c);
}
.swatch-lvp {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.10) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.05) 0 3px, transparent 3px 26px),
    linear-gradient(120deg, #c99a63, #9c6f3e);
}
.swatch-carpet {
  background:
    radial-gradient(circle at 3px 3px, rgba(0,0,0,0.08) 1px, transparent 1.5px) 0 0 / 7px 7px,
    linear-gradient(135deg, #d8b7a6, #b98a74);
}
.swatch-repair {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.20) 0 8px, transparent 8px 16px),
    linear-gradient(135deg, var(--clay), var(--clay-dark));
}
.swatch-hardwood {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.14) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.10) 0 2px, transparent 2px 24px),
    linear-gradient(120deg, var(--wood), var(--wood-dark));
}
.swatch-stairs {
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.10) 0 14px, rgba(255,255,255,0.10) 14px 15px),
    linear-gradient(135deg, #b98d55, #8a6437);
}

.svc-icon {
  position: absolute;
  right: 1rem;
  bottom: -22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid var(--line);
}

.service-body { padding: 1.5rem 1.4rem 1.6rem; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 0.45rem; color: var(--navy); }
.service-card p { color: var(--gray-mid); font-size: 0.95rem; }

.badge {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--wood-dark);
  background: var(--gold-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

/* ---------- How it works (steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.4rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clay), var(--clay-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(217,122,69,0.4);
}
.step .step-icon { font-size: 1.7rem; margin-bottom: 0.5rem; }
.step h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.35rem; }
.step p { color: var(--gray-mid); font-size: 0.92rem; }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.35rem;
}
.why-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.why-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.why-card h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 0.25rem; }
.why-card p { color: var(--gray-mid); font-size: 0.92rem; }

/* ---------- About ---------- */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text h2 { text-align: left; }
.about-text p { color: var(--gray-mid); margin-bottom: 1.1rem; font-size: 1.02rem; }
.about-text p:last-child { margin-bottom: 0; }
.about-text .signature { color: var(--wood-dark); font-weight: 700; font-style: italic; }

/* warm decorative card built purely in CSS (stands in for a photo) */
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 320px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background:
    repeating-linear-gradient(115deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.10) 0 2px, transparent 2px 22px),
    linear-gradient(150deg, var(--wood-light) 0%, var(--wood) 55%, var(--wood-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual .about-badge {
  background: rgba(255,255,255,0.94);
  border-radius: var(--radius);
  padding: 1.4rem 1.7rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 82%;
}
.about-visual .about-badge .big { font-size: 2rem; }
.about-visual .about-badge strong { display: block; color: var(--navy); font-size: 1.1rem; margin-top: 0.3rem; }
.about-visual .about-badge span { color: var(--gray-mid); font-size: 0.9rem; }

/* ---------- Service area ---------- */
.area-section .area-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.area-section .text { flex: 1; min-width: 260px; }
.area-section h2 { text-align: left; }
.area-section p.lead { color: var(--gray-mid); font-size: 1.05rem; }

.area-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }
.area-list span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(217,122,69,0.32), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-light));
}
.cta-banner h2 { color: var(--white); }
.cta-banner .section-sub { color: #d5dbe4; margin-bottom: 1.8rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info .item {
  display: flex;
  gap: 0.95rem;
  margin-bottom: 1.4rem;
  align-items: flex-start;
}
.contact-info .item .icon {
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--clay-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info h3 { font-size: 1.02rem; margin-bottom: 0.15rem; color: var(--navy); }
.contact-info p { color: var(--gray-mid); font-size: 0.95rem; }
.contact-info a:hover { color: var(--clay); }

form.quote-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.9rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
form.quote-form .field { margin-bottom: 1rem; }
form.quote-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
form.quote-form input,
form.quote-form select,
form.quote-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d9cfbf;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
form.quote-form input:focus,
form.quote-form select:focus,
form.quote-form textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(217,122,69,0.15);
  background: #fff;
}
form.quote-form textarea { resize: vertical; min-height: 110px; }
form.quote-form button { width: 100%; border: none; cursor: pointer; margin-top: 0.3rem; }
.form-note { font-size: 0.8rem; color: var(--gray-mid); margin-top: 0.85rem; }

/* ---------- Reviews placeholder ---------- */
.reviews-placeholder {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--wood-light);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
}
.reviews-placeholder .big { font-size: 1.9rem; margin-bottom: 0.4rem; }
.reviews-placeholder p { color: var(--gray-mid); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: #b9c1cb;
  padding: 3rem 0 1.5rem;
  font-size: 0.92rem;
}
footer .footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { max-width: 260px; }
.footer-brand img { height: 84px; width: auto; margin-bottom: 0.9rem; }
.footer-brand p { color: #c7cfd9; }
footer .footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.8rem; }
footer .footer-col a, footer .footer-col p { display: block; margin-bottom: 0.45rem; }
footer .footer-col a:hover { color: var(--gold); }
.footer-bottom {
  text-align: center;
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: #8b96a3;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { min-height: 240px; }
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }

  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.5rem;
    gap: 1.1rem;
    display: none;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { color: var(--navy); }

  .hero { padding: 3.5rem 0 4rem; }
  .hero h1 { font-size: 2rem; }
  .hero .tagline { font-size: 1.1rem; }
  section { padding: 3.5rem 0; }
  section h2 { font-size: 1.7rem; }
  .area-section .area-inner { flex-direction: column; }
  .area-section h2 { text-align: center; }
  .about-text h2 { text-align: center; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.7rem; }
  .btn { padding: 0.85rem 1.5rem; }
}
