/* ============================
   ShutterMart Landing — Style
   ============================ */

/* --- Tokens --- */
:root {
  --ivory: #FAF7F2;
  --sand: #EDE8DF;
  --sand-dark: #D6CEBC;
  --charcoal: #2C2A26;
  --charcoal-light: #4A4740;
  --olive: #6B7254;
  --bronze: #9B8763;
  --bronze-light: #C4AB7E;
  --cream: #F5F1EA;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.925rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: var(--charcoal);
  color: var(--ivory);
}
.btn--primary:hover { background: var(--olive); }
.btn--primary:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.btn--outline {
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
  background: transparent;
}
.btn--outline:hover { background: var(--charcoal); color: var(--ivory); }
.btn--outline:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.btn--dark {
  background: var(--charcoal);
  color: var(--ivory);
}
.btn--dark:hover { background: var(--olive); }
.btn--dark:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.btn--lg { padding: 18px 40px; font-size: 1rem; }

/* --- Section helpers --- */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  max-width: 560px;
  line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-subtitle { margin: 0 auto; }

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Grain texture overlay --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================
   Navigation
   ============================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.nav--scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(44, 42, 38, 0.06);
}
.nav--hidden { transform: translateY(-100%); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--charcoal);
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--charcoal-light);
}
.nav__links a:hover { color: var(--charcoal); }
.nav__links a:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; border-radius: 2px; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--charcoal) !important;
}
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 24px; }
.nav__toggle span { display: block; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all 0.3s; }
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 0 24px 24px;
  gap: 20px;
  font-size: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.nav__phone-mobile {
  display: inline-flex;
  padding: 12px 0;
  font-weight: 600;
  color: var(--olive);
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile--open { display: flex; }
}

/* ============================
   Hero
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 30% 40%, rgba(196, 171, 126, 0.12) 0%, transparent 70%),
    linear-gradient(175deg, var(--sand) 0%, var(--ivory) 50%, var(--cream) 100%);
}
.hero__slats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__slat {
  position: absolute;
  width: 120%;
  height: 18px;
  background: linear-gradient(90deg, transparent 0%, rgba(214, 206, 188, 0.35) 20%, rgba(214, 206, 188, 0.5) 50%, rgba(214, 206, 188, 0.35) 80%, transparent 100%);
  border-radius: 2px;
}
.hero__slat:nth-child(1) { top: 8%; left: -10%; transform: rotate(-8deg); }
.hero__slat:nth-child(2) { top: 20%; left: -10%; transform: rotate(-5.7deg); }
.hero__slat:nth-child(3) { top: 32%; left: -10%; transform: rotate(-3.4deg); }
.hero__slat:nth-child(4) { top: 44%; left: -10%; transform: rotate(-1.1deg); }
.hero__slat:nth-child(5) { top: 56%; left: -10%; transform: rotate(1.2deg); }
.hero__slat:nth-child(6) { top: 68%; left: -10%; transform: rotate(3.5deg); }
.hero__slat:nth-child(7) { top: 80%; left: -10%; transform: rotate(5.8deg); }
.hero__slat:nth-child(8) { top: 92%; left: -10%; transform: rotate(8.1deg); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 55%, transparent 20%, rgba(250, 247, 242, 0.5) 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  padding: 100px 24px 60px;
  max-width: 780px;
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  color: var(--olive);
}
.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--charcoal-light);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--charcoal-light);
  opacity: 0.4;
}
.hero__scroll-dot {
  animation: scrollDot 2s var(--ease-in-out) infinite;
}
@keyframes scrollDot {
  0%, 100% { cy: 10; opacity: 1; }
  50% { cy: 22; opacity: 0.3; }
}

/* ============================
   Trust Band
   ============================ */
.trust {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 40px 24px;
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.trust__item { text-align: center; }
.trust__number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.trust__label {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.04em;
}
.trust__divider {
  width: 1px;
  height: 40px;
  background: rgba(250, 247, 242, 0.15);
}

@media (max-width: 600px) {
  .trust__inner { gap: 24px; }
  .trust__divider { display: none; }
  .trust__item { flex: 1 1 40%; }
}

/* ============================
   Materials
   ============================ */
.materials {
  padding: 100px 0;
  background: var(--ivory);
}
.materials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.material-card {
  position: relative;
  background: var(--white);
  border-radius: 8px;
  padding: 0 0 32px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(44, 42, 38, 0.06);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.material-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44, 42, 38, 0.1);
}

.material-card__visual {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.material-card__visual--polyclad {
  background: linear-gradient(135deg, #E8E2D6 0%, #D6CEBC 50%, #C4B99E 100%);
}
.material-card__visual--wood {
  background: linear-gradient(135deg, #C9A96E 0%, #A38245 50%, #876830 100%);
}
.material-card__visual--vinyl {
  background: linear-gradient(135deg, #F0EDE6 0%, #E2DED4 50%, #D4CFC2 100%);
}
.material-card__pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 22px,
    rgba(255,255,255,0.25) 22px,
    rgba(255,255,255,0.25) 24px
  );
}

.material-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--olive);
  color: var(--ivory);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
}

.material-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 24px 28px 8px;
}
.material-card__desc {
  font-size: 0.925rem;
  color: var(--charcoal-light);
  padding: 0 28px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.material-card__features {
  padding: 0 28px;
  margin-bottom: 20px;
}
.material-card__features li {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--charcoal-light);
  line-height: 2;
}
.material-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--bronze-light);
  border-radius: 50%;
}
.material-card__link {
  display: inline-block;
  padding: 0 28px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--olive);
  transition: color 0.2s;
}
.material-card__link:hover { color: var(--charcoal); }
.material-card__link:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }

@media (max-width: 900px) {
  .materials__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ============================
   Benefits
   ============================ */
.benefits {
  padding: 100px 0;
  background: var(--cream);
}
.benefits__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.benefits__intro {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  line-height: 1.75;
  margin: 4px 0 32px;
}
.benefits__right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.benefit {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.benefit__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--sand-dark);
  border-radius: 50%;
  color: var(--olive);
}
.benefit__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.benefit__desc {
  font-size: 0.925rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .benefits__layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================
   Process
   ============================ */
.process {
  padding: 100px 0;
  background: var(--ivory);
}
.process__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.process__line {
  position: absolute;
  top: 22px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: var(--sand-dark);
  z-index: 0;
}
.process__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc(var(--fill, 0) * 100%);
  background: var(--olive);
  transition: width 0.3s;
}
.process__step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.process__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
}
.process__step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.process__step-desc {
  font-size: 0.875rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}
.process__cta { text-align: center; }

@media (max-width: 768px) {
  .process__timeline { grid-template-columns: 1fr 1fr; }
  .process__line { display: none; }
}
@media (max-width: 480px) {
  .process__timeline { grid-template-columns: 1fr; }
}

/* ============================
   Testimonials
   ============================ */
.testimonials {
  padding: 100px 0;
  background: var(--charcoal);
  color: var(--ivory);
}
.testimonials .section-eyebrow { color: var(--bronze-light); }
.testimonials .section-title { color: var(--ivory); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: rgba(250, 247, 242, 0.05);
  border: 1px solid rgba(250, 247, 242, 0.08);
  border-radius: 8px;
  padding: 32px 28px;
}
.testimonial__stars {
  color: var(--bronze-light);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial__text {
  font-size: 0.95rem;
  line-height: 1.75;
  opacity: 0.85;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial__name {
  font-size: 0.8rem;
  opacity: 0.5;
  font-weight: 400;
}

@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

/* ============================
   San Diego
   ============================ */
.sandiego {
  padding: 100px 0;
  background: var(--cream);
}
.sandiego__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.sandiego__svg {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  color: var(--charcoal);
}
.sandiego__text {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  line-height: 1.75;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .sandiego__layout { grid-template-columns: 1fr; }
  .sandiego__map { order: 1; }
  .sandiego__content { order: 0; }
}

/* ============================
   Final CTA
   ============================ */
.final-cta {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 60%, rgba(196, 171, 126, 0.1) 0%, transparent 70%),
    var(--ivory);
}
.final-cta__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.final-cta__text {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  line-height: 1.75;
  margin-bottom: 36px;
}
.final-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================
   Footer
   ============================ */
.footer {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 48px 0 32px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer__tagline {
  width: 100%;
  font-size: 0.85rem;
  opacity: 0.5;
  margin-top: 4px;
}
.footer__links {
  display: flex;
  gap: 28px;
  font-size: 0.875rem;
}
.footer__links a { opacity: 0.65; transition: opacity 0.2s; }
.footer__links a:hover { opacity: 1; }
.footer__links a:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.footer__bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.08);
  padding-top: 24px;
  font-size: 0.8rem;
  opacity: 0.4;
}
