/* ===========================================================
   Naples Interior Doors — Design Tokens
   Palette: Navy / Silver / White (as requested by client)
   =========================================================== */
:root{
  --navy-950: #0b1730;
  --navy-900: #0f2044;
  --navy-800: #16305e;
  --navy-700: #1f3f78;
  --silver-100: #f4f5f7;
  --silver-200: #e7eaef;
  --silver-300: #cfd5de;
  --silver-400: #aeb6c4;
  --silver-500: #8b93a3;
  --white: #ffffff;
  --ink: #101625;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-soft: 0 20px 50px -25px rgba(11, 23, 48, 0.35);
  --shadow-card: 0 12px 30px -18px rgba(11, 23, 48, 0.28);

  --container: 1160px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--navy-950);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  font-weight: 600;
}
p{ margin: 0 0 1em; color: var(--navy-800); }
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.eyebrow{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: "";
  width: 22px;
  height: 2px;
  background: var(--silver-400);
  display: inline-block;
}
section{ padding: 88px 0; }
.section-tight{ padding: 56px 0; }

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary{
  background: var(--navy-950);
  color: var(--white);
}
.btn-primary:hover{
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.btn-ghost{
  background: transparent;
  border-color: var(--silver-400);
  color: var(--navy-950);
}
.btn-ghost:hover{
  border-color: var(--navy-950);
  background: var(--silver-100);
}
.btn-on-navy{
  background: var(--silver-200);
  color: var(--navy-950);
}
.btn-on-navy:hover{
  background: var(--white);
  transform: translateY(-2px);
}

/* ===========================================================
   Header / Nav
   =========================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--silver-200);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy-950);
}
.brand-mark{
  width: 34px;
  height: 34px;
  border-radius: 3px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.brand-mark::before{
  content:"";
  position:absolute;
  left: 6px; top: 6px; right: 6px; bottom: 6px;
  border: 1.5px solid var(--silver-400);
  border-radius: 2px;
}
.brand-mark::after{
  content:"";
  position:absolute;
  right: 8px;
  top: 50%;
  width: 3px; height: 3px;
  background: var(--silver-300);
  border-radius: 50%;
  transform: translateY(-50%);
}
.brand small{
  display:block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-500);
}
.nav-links{
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
  font-weight: 500;
}
.nav-links a{
  color: var(--navy-800);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-2px;
  height: 2px;
  background: var(--navy-950);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after{ transform: scaleX(1); }
.nav-links a.active{ color: var(--navy-950); font-weight: 600; }
.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-phone{
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-950);
  white-space: nowrap;
}
.nav-toggle{
  display:none;
  background:none;
  border: none;
  cursor:pointer;
  padding: 6px;
}
.nav-toggle span{
  display:block;
  width: 24px;
  height: 2px;
  background: var(--navy-950);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===========================================================
   Hero + Door Illustration (signature element)
   =========================================================== */
.hero{
  padding: 64px 0 40px;
  overflow: hidden;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1{
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin: 18px 0 20px;
}
.hero p.lead{
  font-size: 1.08rem;
  color: var(--navy-700);
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.doorway{
  position: relative;
  height: 460px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(120% 140% at 30% 0%, #26406f 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.doorway::before{
  /* interior glow revealed as the door opens */
  content:"";
  position:absolute;
  inset: 10%;
  background: radial-gradient(circle at 65% 40%, rgba(231,234,239,0.35), transparent 60%);
  filter: blur(10px);
}
.door-scene{
  perspective: 1400px;
  width: 260px;
  height: 400px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}
.door{
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  background: linear-gradient(155deg, var(--navy-700), var(--navy-950) 75%);
  border-radius: 3px;
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(231,234,239,0.15);
  position: relative;
  animation: doorSwing 1.8s cubic-bezier(.2,.7,.2,1) 0.3s both;
}
.door-panel{
  position: absolute;
  left: 20px; right: 20px;
  border-radius: 2px;
  box-shadow:
    inset 0 1px 0 rgba(231,234,239,0.25),
    inset 0 -2px 3px rgba(0,0,0,0.35),
    inset 0 2px 3px rgba(231,234,239,0.08);
  background: linear-gradient(160deg, rgba(231,234,239,0.05), transparent 60%);
}
.door-panel.top{ top: 24px; height: 34%; }
.door-panel.bottom{ bottom: 24px; height: 40%; }
.door-hinges{
  position:absolute; left: 4px; top: 14%; bottom: 14%;
  display:flex; flex-direction: column; justify-content: space-between;
}
.door-hinges span{
  width: 10px; height: 26px;
  background: linear-gradient(180deg, var(--silver-300), var(--silver-500));
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.door-knob{
  position:absolute;
  right: 14px;
  top: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--white), var(--silver-400) 60%, var(--silver-500));
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  transform: translateY(-50%);
}
@keyframes doorSwing{
  from{ transform: rotateY(0deg); }
  to{ transform: rotateY(-38deg); }
}
@media (prefers-reduced-motion: reduce){
  .door{ animation: none; transform: rotateY(-22deg); }
}

/* small static door icon used on interior page headers */
.door-scene.small{ width: 130px; height: 200px; margin: 0 auto; }
.door-scene.small .door{ animation: none; transform: rotateY(-24deg); }

/* ===========================================================
   Value / Panel cards (door-panel motif instead of numbers)
   =========================================================== */
.panel-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.panel-card{
  position: relative;
  padding: 34px 28px 30px;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.panel-card .frame{
  width: 46px; height: 58px;
  border: 2px solid var(--navy-950);
  border-radius: 2px;
  position: relative;
  margin-bottom: 20px;
}
.panel-card .frame::before{
  content:"";
  position:absolute; inset: 8px;
  border: 1.5px solid var(--silver-400);
  border-radius: 1px;
}
.panel-card h3{ font-size: 1.15rem; margin-bottom: 10px; }
.panel-card p{ font-size: 0.95rem; margin-bottom: 0; }

/* process strip — genuinely sequential, numbering earned */
.process{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--silver-200);
  border-bottom: 1px solid var(--silver-200);
}
.process-step{
  padding: 34px 30px;
  border-right: 1px solid var(--silver-200);
}
.process-step:last-child{ border-right: none; }
.process-step .num{
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--silver-500);
  letter-spacing: 0.08em;
  display:block;
  margin-bottom: 10px;
}
.process-step h4{ font-size: 1.05rem; margin-bottom: 8px; }
.process-step p{ font-size: 0.92rem; margin-bottom: 0; }

/* CTA band */
.cta-band{
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2, .cta-band p{ color: var(--white); }
.cta-band p{ color: var(--silver-200); margin-bottom: 0; }

/* Page header (About / Services / Contact / Appointment) */
.page-header{
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--silver-200);
  background: var(--silver-100);
}
.page-header-grid{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.page-header h1{ font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 14px 0 10px; }
.page-header p{ max-width: 58ch; color: var(--navy-700); }

/* Two column content */
.two-col{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}
.info-card{
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
}
.info-card h3{ color: var(--white); }
.info-card p{ color: var(--silver-200); }
.info-card .contact-row{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(231,234,239,0.15);
  font-weight: 600;
}
.info-card .contact-row:first-of-type{ border-top: none; padding-top: 0; }
.info-card .contact-label{
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver-400);
  font-weight: 500;
  display:block;
  margin-bottom: 2px;
}

.color-swatches{ display:flex; gap: 14px; margin-top: 18px; }
.swatch{ text-align:center; font-size: 0.75rem; color: var(--navy-700); }
.swatch .chip{
  width: 44px; height: 44px;
  border-radius: 50%;
  margin: 0 auto 8px;
  box-shadow: inset 0 0 0 1px rgba(11,23,48,0.15);
}
.swatch.navy .chip{ background: var(--navy-950); }
.swatch.silver .chip{ background: var(--silver-400); }
.swatch.white .chip{ background: var(--white); border: 1px solid var(--silver-300); }

/* Forms */
.form-card{
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field{ margin-bottom: 20px; }
.field label{
  display:block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-950);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--silver-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--silver-100);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--navy-800);
  background: var(--white);
}
.field textarea{ resize: vertical; min-height: 110px; }
.hp-field{ position: absolute; left: -9999px; top: -9999px; }
.form-note{ font-size: 0.85rem; color: var(--silver-500); margin-top: 6px; }

/* Photography */
.photo-band{
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-card);
}
.photo-band img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-caption{
  font-size: 0.75rem;
  color: var(--silver-500);
  margin-top: 10px;
  text-align: right;
}
.photo-caption a{ color: var(--silver-500); text-decoration: underline; }
.photo-caption a:hover{ color: var(--navy-800); }

.photo-inline{
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 10px;
}
.photo-inline img{ width: 100%; display:block; }

.photo-duo{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.photo-duo .photo-inline{ height: 260px; margin-bottom: 0; }
.photo-duo .photo-inline img{ height: 100%; object-fit: cover; }

@media (max-width: 720px){
  .photo-band{ height: 260px; }
  .photo-duo{ grid-template-columns: 1fr; }
}

/* Footer */
.site-footer{
  background: var(--navy-950);
  color: var(--silver-300);
  padding: 56px 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(231,234,239,0.12);
}
.footer-grid h4{
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-grid ul{ list-style:none; margin:0; padding:0; }
.footer-grid li{ margin-bottom: 10px; }
.footer-grid a:hover{ color: var(--white); }
.footer-brand p{ color: var(--silver-400); max-width: 34ch; font-size: 0.92rem; }
.footer-bottom{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--silver-500);
  flex-wrap: wrap;
  gap: 10px;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--navy-800);
  outline-offset: 2px;
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 960px){
  .hero-grid{ grid-template-columns: 1fr; }
  .doorway{ order: -1; height: 360px; }
  .panel-grid{ grid-template-columns: 1fr 1fr; }
  .process{ grid-template-columns: 1fr; }
  .process-step{ border-right: none; border-bottom: 1px solid var(--silver-200); }
  .process-step:last-child{ border-bottom: none; }
  .two-col{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .nav-links{
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--silver-200);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px;
    display: none;
    gap: 16px;
  }
  .nav-links.open{ display: flex; }
  .nav-toggle{ display:block; }
  .nav-phone{ display:none; }
  .panel-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .cta-band{ flex-direction: column; align-items: flex-start; }
}
