/* Apertiline — base styles
   Color palette:
     #FAF8F3  warm cream (background)
     #1A1A1A  charcoal (text)
     #B89968  warm gold (accent — "light" reference)
     #2C3E50  slate blue (secondary)
     #E8E4DC  light cream (borders)
*/

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: #1A1A1A;
  background: #FAF8F3;
}

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

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  color: #1A1A1A;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; font-weight: 600; }

p { margin-bottom: 1rem; }

a { color: #2C3E50; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #B89968; }

/* Header */
.site-header {
  padding: 24px 0;
  border-bottom: 1px solid #E8E4DC;
  background: #FAF8F3;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav { display: flex; align-items: center; justify-content: space-between; }

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1A1A1A;
}

.brand-footer { font-size: 1.6rem; color: #FAF8F3; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 500; }

.cta-link {
  background: #1A1A1A;
  color: #FAF8F3 !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.9rem !important;
}
.cta-link:hover { background: #B89968; color: #FAF8F3 !important; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary { background: #1A1A1A; color: #FAF8F3; }
.btn-primary:hover { background: #2C3E50; color: #FAF8F3; }

.btn-light { background: #FAF8F3; color: #1A1A1A; }
.btn-light:hover { background: #B89968; color: #FAF8F3; }

.btn-outline {
  background: transparent;
  color: #1A1A1A;
  border: 1.5px solid #1A1A1A;
}
.btn-outline:hover { background: #1A1A1A; color: #FAF8F3; }

/* Hero */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #FAF8F3 0%, #F4F0E8 100%);
}

.hero h1 { max-width: 18ch; }
.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 58ch;
  color: #3A3A3A;
  margin-bottom: 2.2rem;
}

.hero-meta {
  font-size: 0.85rem;
  color: #6A6A6A;
  margin-top: 1.4rem;
  margin-bottom: 0;
}

/* Trust band */
.trust {
  padding: 50px 0;
  background: #1A1A1A;
  color: #FAF8F3;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}

.trust-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: #B89968;
  margin-bottom: 4px;
}

.trust-label {
  font-size: 0.95rem;
  color: #DDD7C9;
  line-height: 1.4;
}

/* How section */
.how { padding: 90px 0; }
.how h2 { margin-bottom: 50px; max-width: 22ch; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.how article { position: relative; }

.how-step {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  color: #B89968;
  line-height: 1;
  margin-bottom: 16px;
  font-weight: 500;
}

.how article p { color: #4A4A4A; font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background: #2C3E50;
  color: #FAF8F3;
  padding: 70px 0;
  text-align: center;
}

.cta-band h2 { color: #FAF8F3; margin-bottom: 12px; }
.cta-band p { color: #C9D2DC; max-width: 50ch; margin: 0 auto 28px; }

/* Footer */
.site-footer {
  background: #1A1A1A;
  color: #C9C5BB;
  padding: 60px 0 30px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-h {
  font-weight: 600;
  color: #FAF8F3;
  margin-bottom: 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-tag {
  color: #9C9788;
  max-width: 30ch;
  margin-top: 8px;
  font-size: 0.92rem;
}

.site-footer a { color: #C9C5BB; }
.site-footer a:hover { color: #B89968; }
.site-footer p { margin-bottom: 6px; }

.footer-meta {
  padding-top: 24px;
  border-top: 1px solid #2A2A2A;
  font-size: 0.82rem;
  color: #6E6A60;
}

/* Generic content pages */
.page-hero {
  padding: 70px 0 40px;
  background: linear-gradient(180deg, #FAF8F3 0%, #F4F0E8 100%);
}

.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.6rem; }
.page-hero p { color: #4A4A4A; max-width: 60ch; font-size: 1.1rem; }

.page-section { padding: 70px 0; }

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.portfolio-card {
  background: #FFFFFF;
  border: 1px solid #E8E4DC;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.portfolio-photo {
  background: linear-gradient(135deg, #D4C5A3 0%, #B89968 100%);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  text-align: center;
  padding: 20px;
}

.portfolio-body { padding: 20px 22px; }
.portfolio-body h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.3rem; margin-bottom: 4px; }
.portfolio-body p { color: #4A4A4A; font-size: 0.92rem; margin-bottom: 0; }

.placeholder-note {
  background: #FFF8E5;
  border: 1px dashed #B89968;
  padding: 20px 24px;
  border-radius: 6px;
  margin-bottom: 32px;
  font-size: 0.92rem;
  color: #6B5B30;
}

.placeholder-note strong { color: #4A3D18; }

/* Why Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  margin-top: 20px;
}

.why-card {
  border-left: 3px solid #B89968;
  padding: 4px 0 4px 22px;
}

.why-card h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: #4A4A4A; font-size: 0.95rem; margin-bottom: 0; }

/* Quote form */
.quote-form {
  background: #FFFFFF;
  padding: 36px 36px 28px;
  border-radius: 8px;
  border: 1px solid #E8E4DC;
  max-width: 720px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 18px; }
.form-row-full { display: block; margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #1A1A1A;
}

.form-group .required { color: #B89968; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #D8D2C3;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #FAF8F3;
  color: #1A1A1A;
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #B89968;
  background: #FFFFFF;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-meta {
  font-size: 0.85rem;
  color: #6A6A6A;
  margin-top: 10px;
}

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

.contact-card {
  background: #FFFFFF;
  border: 1px solid #E8E4DC;
  border-radius: 6px;
  padding: 30px 32px;
}

.contact-card h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.05em; color: #6A6A6A; }
.contact-card p { margin-bottom: 8px; font-size: 1rem; }
.contact-card a { color: #1A1A1A; font-weight: 500; }
.contact-card a:hover { color: #B89968; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.cta-link) { display: none; }

  .hero { padding: 60px 0 50px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}
