/* ============================================
   EDMONDS NOTARY — Main Stylesheet
   Design: Modern Contemporary, Navy + Gold
   ============================================ */

/* --- Variables --- */
:root {
  --navy:      #0d1f3c;
  --navy-light:#152a50;
  --gold:      #c9a84c;
  --gold-light:#e2c57a;
  --white:     #ffffff;
  --off-white: #f8f7f4;
  --gray-100:  #f1f0ed;
  --gray-300:  #d1cec8;
  --gray-600:  #6b6860;
  --gray-800:  #2c2b28;
  --text:      #1a1a1a;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:'Cormorant Garamond', Georgia, serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,.12);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.15);
  --radius:    8px;
  --radius-lg: 16px;
  --transition:all .25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-sans); }
p  { margin-bottom: 1rem; color: var(--gray-800); }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section--gray { background: var(--off-white); }
.section--navy { background: var(--navy); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,31,60,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.2);
  transition: var(--transition);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .01em;
}
.nav__logo-tag {
  font-size: .78rem;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ── Mobile nav panel (always in DOM, hidden off-screen on small screens) ── */
.nav__close { display: none; }
.nav__backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 999; }
.nav__backdrop.open { display: block; }
.nav__links a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: var(--transition);
}
.nav__links a:hover, .nav__links a.active { color: var(--gold); }
.nav__cta { margin-left: .5rem; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,60,.97) 0%, rgba(21,42,80,.85) 60%, rgba(13,31,60,.7) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 5rem;
  box-sizing: border-box;
}
.hero__text {
  max-width: 720px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  color: var(--white);
  max-width: 800px;
  width: 100%;
  margin-bottom: 1.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.hero h1 span { color: var(--gold); }
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  max-width: 580px;
  width: 100%;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
  max-width: 100%;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .02em;
}
.hero__trust-item svg { color: var(--gold); flex-shrink: 0; }

/* --- Trust Bar --- */
.trust-bar {
  background: var(--gold);
  padding: 1.2rem 0;
}
.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  align-items: center;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .02em;
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--gold);
  transition: height .3s ease;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card:hover::before { height: 100%; }
.service-card__icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.service-card h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.service-card p { font-size: .92rem; color: var(--gray-600); margin-bottom: 1rem; }
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.service-card__list li {
  font-size: .85rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.service-card__list li::before {
  content: '›';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Why Choose Us --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why__features {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.why__feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.why__feature-icon {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.why__feature-text h4 { margin-bottom: .3rem; color: var(--navy); }
.why__feature-text p { font-size: .9rem; color: var(--gray-600); margin: 0; }
.why__image-wrap {
  position: relative;
}
.why__image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 520px;
}
.why__badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.why__badge-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.why__badge-label { font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: start;
}
.about__photo-wrap {
  position: sticky;
  top: 6rem;
}
.about__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
}
.about__credentials {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.about__credential {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--off-white);
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  color: var(--navy);
}
.about__credential svg { color: var(--gold); flex-shrink: 0; }
.about__content h2 { margin-bottom: 1.5rem; }
.about__content p { color: var(--gray-600); line-height: 1.8; }
.about__explainer {
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}
.about__explainer h4 { color: var(--gold); margin-bottom: .75rem; font-family: var(--font-sans); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.about__explainer p { color: rgba(255,255,255,.75); font-size: .9rem; margin: 0; }

/* --- Process --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step__num {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--off-white);
}
.process-step h4 { margin-bottom: .5rem; }
.process-step p { font-size: .88rem; color: var(--gray-600); }

/* --- FAQ --- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-300);
}
.faq-item:first-child { border-top: 1px solid var(--gray-300); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  gap: 1rem;
}
.faq-question svg {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform .25s ease;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* --- Contact / CTA --- */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 5rem 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { font-size: 1.05rem; padding: 1rem 2.5rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item__icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-item h4 { margin-bottom: .2rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-family: var(--font-sans); }
.contact-item p, .contact-item a { color: var(--gray-800); font-size: .95rem; }
.contact-item a:hover { color: var(--gold); }
.service-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem;
}
.service-area-tag {
  background: var(--off-white);
  border: 1px solid var(--gray-300);
  border-radius: 100px;
  padding: .3rem .9rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--gray-800);
}
.contact-form-wrap {
  background: var(--off-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-300);
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* --- Footer --- */
.footer {
  background: var(--gray-800);
  color: rgba(255,255,255,.6);
  padding: 3rem 0 1.5rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer__brand .nav__logo-name { color: var(--white); font-size: 1.2rem; }
.footer__brand .nav__logo-tag { color: var(--gold); }
.footer__brand p { font-size: .88rem; margin-top: 1rem; line-height: 1.7; }
.footer__col h5 { color: var(--white); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--font-sans); }
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col ul li a { font-size: .88rem; transition: var(--transition); }
.footer__col ul li a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.8);
}
.footer__bottom p { color: rgba(255,255,255,.8); }
.footer__bottom a { transition: var(--transition); }
.footer__bottom a:hover { color: var(--gold); }

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(201,168,76,.05) 0%, transparent 60%);
}
.page-hero h1 { color: var(--white); position: relative; margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.1rem; position: relative; max-width: 560px; margin: 0 auto; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 2.5rem; }
  .about__photo-wrap { position: static; }
  .about__photo { aspect-ratio: 4/3; max-height: 380px; width: 100%; object-position: top; }
  .why__badge { bottom: .5rem; left: .5rem; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; z-index: 100; }
  .nav__cta { display: none; }
  .hero { min-height: auto; }
  .hero__content { padding: 7rem 1.5rem 4rem; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero__sub { font-size: 1rem; }
  .hero__eyebrow { white-space: normal; flex-wrap: wrap; max-width: 100%; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; padding: .85rem 1.25rem; font-size: .9rem; }
  .hero__trust { flex-direction: column; gap: .75rem; }
  .hero__trust { gap: 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .trust-bar__inner { gap: 1rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .contact-form-wrap { padding: 1.5rem; }
}

/* --- Mobile Nav Panel --- */
#mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  background: #0d1f3c;
  padding: 5rem 2rem 2rem;
  z-index: 10000;
  transform: translateX(110%);
  transition: transform .3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -6px 0 40px rgba(0,0,0,.8);
}
#mobile-nav.open { transform: translateX(0); }
#mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
#mobile-nav li { border-bottom: 1px solid rgba(255,255,255,.1); }
#mobile-nav a { display: block; color: #ffffff; font-size: 1.1rem; font-weight: 500; padding: 1rem 0; text-decoration: none; letter-spacing: .02em; }
#mobile-nav a:hover { color: #c9a84c; }
#mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: .2rem .5rem;
}
#mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9999;
}
#mobile-nav-backdrop.open { display: block; }

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Calendly Embed --- */
.calendly-embed {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-300);
  min-height: 700px;
}
