/* =====================================================================
   Signed & Sealed, LLC — Brand Stylesheet
   Palette: rose/dusty pink + gold (from logo)
   ===================================================================== */

:root {
  /* Brand colors */
  --rose:         #c98b79;   /* logo background rose */
  --rose-light:   #e7c6bb;   /* soft rose */
  --rose-lighter: #f6e8e2;   /* pale rose wash */
  --rose-deep:    #9e5b4a;   /* deep terracotta rose */
  --gold:         #c39a44;   /* brand gold */
  --gold-dark:    #9c7521;   /* darker gold */
  --gold-light:   #e0c479;   /* light gold */

  --cream:        #fdf9f6;   /* off-white background */
  --ink:          #3a2a25;   /* dark warm brown text */
  --ink-soft:     #6a564f;   /* muted body text */
  --white:        #ffffff;

  --shadow-sm: 0 4px 14px rgba(58, 42, 37, 0.08);
  --shadow-md: 0 12px 34px rgba(58, 42, 37, 0.14);
  --shadow-lg: 0 24px 60px rgba(58, 42, 37, 0.20);

  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1180px;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--ink); }

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

.container { width: 90%; max-width: var(--maxw); margin: 0 auto; }

.section { padding: 90px 0; }
.section-tight { padding: 60px 0; }

/* ---------- Utility text ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 18px; }
.section-title.center, .lead.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 760px; }
.lead.center { margin-left: auto; margin-right: auto; }
.text-gold { color: var(--gold-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 15px 34px;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(156, 117, 33, 0.32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(156, 117, 33, 0.42); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--rose);
}
.btn-secondary:hover { background: var(--rose); color: #fff; transform: translateY(-3px); }
.btn-light {
  background: #fff;
  color: var(--rose-deep);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-light:hover { background: #fff; color: var(--rose-deep); }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253, 249, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(201, 139, 121, 0.15);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(253, 249, 246, 0.96); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 46px; width: 46px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav-brand-text .name { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.nav-brand-text .tag { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links li a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 30px;
  position: relative;
  transition: var(--transition);
}
.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links li a:hover, .nav-links li a.active { color: var(--gold-dark); }
.nav-links li a:hover::after, .nav-links li a.active::after { width: 22px; }
.nav-links .nav-cta a {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  padding: 10px 22px;
  box-shadow: 0 8px 18px rgba(156, 117, 33, 0.3);
}
.nav-links .nav-cta a::after { display: none; }
.nav-links .nav-cta a:hover { color: #fff; transform: translateY(-2px); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  padding: 150px 0 90px;
  background:
    radial-gradient(circle at 15% 20%, rgba(231, 198, 187, 0.55), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(224, 196, 121, 0.28), transparent 45%),
    linear-gradient(180deg, var(--rose-lighter) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin-bottom: 22px; }
.hero h1 .accent { color: var(--gold-dark); }
.hero p.sub { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 34px; max-width: 560px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  position: relative;
}
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.hero-image .badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: #fff;
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-image .badge img { width: 42px; height: 42px; border-radius: 50%; box-shadow: none; }
.hero-image .badge .txt { line-height: 1.2; }
.hero-image .badge .txt strong { display: block; font-family: var(--serif); font-size: 1rem; color: var(--ink); }
.hero-image .badge .txt span { font-size: 0.75rem; color: var(--ink-soft); }

/* =====================================================================
   PAGE HERO (inner pages)
   ===================================================================== */
.page-hero {
  padding: 140px 0 70px;
  background:
    radial-gradient(circle at 80% 20%, rgba(224, 196, 121, 0.25), transparent 50%),
    linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  text-align: center;
  color: #fff;
  position: relative;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.92); max-width: 720px; margin: 0 auto; font-size: 1.05rem; }
.page-hero .eyebrow { color: var(--gold-light); }

/* =====================================================================
   WELCOME / INTRO
   ===================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* =====================================================================
   PILLARS (value)
   ===================================================================== */
.pillars {
  background: var(--rose-lighter);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 46px;
}
.pillar {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(201, 139, 121, 0.12);
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.pillar .icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
  color: #fff;
}
.pillar .icon svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 1.4rem; margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); font-size: 0.98rem; }

/* =====================================================================
   SERVICES CARDS
   ===================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 46px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(201, 139, 121, 0.12);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-card .num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold-dark);
  font-weight: 700;
}
.service-card .card-body { padding: 34px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.35rem; margin: 8px 0 14px; }
.service-card p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 16px; }
.service-card .ideal {
  margin-top: auto;
  background: var(--rose-lighter);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--ink);
}
.service-card .ideal strong { color: var(--gold-dark); display: block; margin-bottom: 3px; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.service-card .bar { height: 6px; background: linear-gradient(90deg, var(--rose), var(--gold)); }

/* Detailed service rows (services page) */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}
.service-detail:nth-child(even) .service-detail-img { order: 2; }
.service-detail-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.service-detail .num-lg {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--rose-light);
  font-weight: 700;
  line-height: 1;
}
.service-detail h3 { font-size: 1.8rem; margin: 6px 0 16px; }
.service-detail p { color: var(--ink-soft); margin-bottom: 18px; }
.service-detail .ideal {
  background: var(--rose-lighter);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  font-size: 0.95rem;
}
.service-detail .ideal strong { color: var(--gold-dark); }

/* =====================================================================
   WHY CHOOSE / SPLIT
   ===================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.check-list { margin-top: 22px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.check-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--gold-dark); margin-top: 3px; }

/* =====================================================================
   ABOUT specific
   ===================================================================== */
.about-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 46px; }
.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
}
.info-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.info-card p { color: var(--ink-soft); }
.serve-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-top: 10px; }
.serve-list li { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.serve-list li::before { content: "✦"; color: var(--gold-dark); font-size: 0.9rem; }

.mission-band {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: #fff;
  text-align: center;
}
.mission-band .eyebrow { color: var(--gold-light); }
.mission-band h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); max-width: 900px; margin: 0 auto; font-weight: 600; }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band {
  background:
    radial-gradient(circle at 20% 30%, rgba(224, 196, 121, 0.35), transparent 50%),
    linear-gradient(135deg, var(--gold-dark) 0%, var(--rose-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 640px; margin: 0 auto 30px; font-size: 1.08rem; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.contact-info .info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.contact-info .info-item .ic {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
  display: grid; place-items: center;
  color: #fff;
}
.contact-info .info-item .ic svg { width: 22px; height: 22px; }
.contact-info .info-item h4 { font-size: 1rem; margin-bottom: 3px; }
.contact-info .info-item p, .contact-info .info-item a { color: var(--ink-soft); font-size: 0.95rem; word-break: break-word; }
.contact-info .info-item a:hover { color: var(--gold-dark); }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201, 139, 121, 0.14);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.form-group label .req { color: var(--rose-deep); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid rgba(201, 139, 121, 0.3);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(195, 154, 68, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  background: #eef8ef;
  border: 1px solid #bfe3c3;
  color: #2e6b38;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.form-success.show { display: block; }
.field-error { color: var(--rose-deep); font-size: 0.78rem; margin-top: 5px; display: none; }
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: var(--rose-deep); }
.form-group.error .field-error { display: block; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand img { height: 54px; width: 54px; border-radius: 50%; object-fit: cover; }
.footer-brand .name { font-family: var(--serif); font-size: 1.25rem; color: #fff; }
.footer-brand .tag { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }
.site-footer p { font-size: 0.92rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links li { margin-bottom: 11px; }
.footer-links li a { font-size: 0.92rem; color: rgba(255,255,255,0.75); transition: var(--transition); }
.footer-links li a:hover { color: var(--gold-light); padding-left: 5px; }
.footer-contact li { font-size: 0.92rem; margin-bottom: 11px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li svg { width: 17px; height: 17px; color: var(--gold-light); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,0.78); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* =====================================================================
   SCROLL ANIMATIONS
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

/* Back to top */
.to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 22px; height: 22px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 960px) {
  .hero-grid, .intro-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .service-detail { grid-template-columns: 1fr; gap: 26px; margin-bottom: 50px; }
  .service-detail:nth-child(even) .service-detail-img { order: 0; }
  .pillars-grid, .services-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .hero-image { max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(80vw, 320px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 34px 40px;
    gap: 6px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; width: 100%; padding: 14px 16px; font-size: 1.05rem; }
  .nav-links li a::after { display: none; }
  .nav-links .nav-cta { margin-top: 12px; }
  .nav-links .nav-cta a { text-align: center; }
  .nav-overlay {
    position: fixed; inset: 0;
    background: rgba(58, 42, 37, 0.4);
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-buttons .btn { flex: 1; }
}

@media (max-width: 420px) {
  .contact-form { padding: 28px 22px; }
  .nav-brand-text .name { font-size: 0.92rem; }
}
