/* =============================================
   Topseal Notary Services — Styles
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0f1d36;
  --navy-light: #162447;
  --navy-mid: #1e3a5f;
  --gold: #d4a843;
  --gold-light: #e8c96a;
  --gold-dark: #b8912e;
  --white: #ffffff;
  --cream: #faf9f6;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --transition: 0.2s ease;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 29, 54, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
  transition: box-shadow var(--transition);
}

.nav--scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
}

.nav__logo-icon { font-size: 1.8rem; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

.nav__link:hover { color: var(--gold-light); }

.nav__link--cta {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.nav__link--cta:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 40%, var(--navy-mid) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,168,67,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__badge {
  display: inline-block;
  background: rgba(212,168,67,0.15);
  color: var(--gold-light);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  border: 1px solid rgba(212,168,67,0.25);
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__title--gold {
  color: var(--gold-light);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__trust {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.hero__trust-icon { font-size: 1.2rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,67,0.3);
}

.btn--outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn--full { width: 100%; }

/* --- Section Shared --- */
section {
  padding: 100px 24px;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Services Cards --- */
.services {
  background: var(--cream);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card--featured {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(212,168,67,0.12);
  position: relative;
}

.card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.card__icon {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.card__title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__list li {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}

.card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}

/* --- Why Us Grid --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition);
}

.why-item:hover {
  border-color: var(--gold);
}

.why-item__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,168,67,0.1);
  border-radius: 10px;
}

.why-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.why-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Service Area --- */
.area {
  background: var(--navy);
  color: var(--white);
}

.area .section__title { color: var(--white); }
.area .section__subtitle { color: rgba(255,255,255,0.6); }
.area .section__tag { color: var(--gold-light); }

.area__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto 24px;
}

.area__city {
  padding: 8px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: all var(--transition);
}

.area__city:hover {
  background: rgba(212,168,67,0.15);
  border-color: rgba(212,168,67,0.3);
  color: var(--gold-light);
}

.area__note {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
}

/* --- Pricing --- */
.pricing {
  background: var(--white);
}

.pricing__table {
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.pricing__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}

.pricing__row:last-child { border-bottom: none; }
.pricing__row:hover { background: var(--gray-50); }

.pricing__service {
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.pricing__price {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
}

.pricing__disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 20px;
}

/* --- Contact --- */
.contact {
  background: var(--cream);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.contact__info .section__title {
  margin-bottom: 20px;
}

.contact__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__method-icon {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,168,67,0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

.contact__method strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 2px;
}

.contact__method a,
.contact__method span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact__method a:hover { color: var(--gold-dark); }

/* Form */
.contact__form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.form__field {
  margin-bottom: 20px;
}

.form__field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,67,0.15);
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: var(--gray-400);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 12px;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 30px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer__links h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--gold-light); }

.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  section { padding: 72px 20px; }

  .nav__toggle { display: flex; }

  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(212,168,67,0.15);
  }

  .nav__links.active { display: flex; }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form__row { grid-template-columns: 1fr; }

  .cards { grid-template-columns: 1fr; }

  .why-grid { grid-template-columns: 1fr; }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero__trust { gap: 20px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { text-align: center; }
  .hero__trust { flex-direction: column; align-items: center; gap: 12px; }
}
