/* =============================================
   NOIFET NOTARY - Main Stylesheet
   ============================================= */

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:       #3b3fa5;
  --primary-dark:  #2a2d7a;
  --primary-light: #5c60c7;
  --accent:        #5bc0eb;
  --accent-dark:   #3aa8d8;
  --gold:          #f0b429;
  --text-dark:     #1a1a2e;
  --text-body:     #444466;
  --text-light:    #888;
  --bg-light:      #f8f9ff;
  --bg-section:    #f0f2ff;
  --white:         #ffffff;
  --border:        #e0e4f0;
  --shadow:        0 4px 24px rgba(59, 63, 165, 0.10);
  --shadow-hover:  0 8px 40px rgba(59, 63, 165, 0.18);
  --radius:        12px;
  --radius-sm:     8px;
  --transition:    0.3s ease;
  --container:     1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,63,165,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

/* === Section Headers === */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-dark);
  margin-bottom: 12px;
}
.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  margin: 0 auto 16px;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar span { display: flex; align-items: center; gap: 6px; }
.top-bar i { color: var(--accent); }

/* =============================================
   HEADER / NAV
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo { display: flex; align-items: center; }
.logo img { height: 56px; width: auto; }
.logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--text-dark);
}
.logo-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--bg-light);
}
.btn-contact {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 10px 20px !important;
}
.btn-contact:hover {
  background: var(--primary-dark) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  background-color: var(--text-dark);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.82) 0%, rgba(59,63,165,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: var(--white);
  padding: 80px 24px;
}
.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-availability i { color: var(--gold); }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 520px;
}

/* =============================================
   QUALITY BANNER
   ============================================= */
.quality-banner {
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
  padding: 18px 0;
}
.quality-text {
  display: block;
  text-align: center;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
}

/* =============================================
   WHY ENGAGE US
   ============================================= */
.why-us { background: var(--white); }
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-us-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 32px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
  transition: all var(--transition);
}
.badge:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.badge i { color: var(--primary); font-size: 18px; transition: color var(--transition); }
.badge:hover i { color: var(--white); }

.why-us-image { display: flex; justify-content: center; }
.img-placeholder {
  width: 320px; height: 320px;
  background: linear-gradient(135deg, var(--bg-section), var(--bg-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 100px;
  color: var(--primary);
  box-shadow: var(--shadow-hover);
  border: 8px solid var(--white);
  outline: 3px solid var(--border);
}

/* =============================================
   SERVICES
   ============================================= */
.services { background: var(--bg-section); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}
.service-card.featured {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.service-card.featured h3,
.service-card.featured p,
.service-card.featured li { color: rgba(255,255,255,0.92); }

.service-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
}
.service-card.featured .service-icon {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}
.service-card p { font-size: 14px; line-height: 1.7; }
.service-features { display: flex; flex-direction: column; gap: 8px; }
.service-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
}
.service-features i { color: var(--accent); font-size: 12px; }
.service-card.featured .service-features i { color: var(--gold); }
.service-card .btn { margin-top: auto; align-self: flex-start; }

/* =============================================
   CTA ESTIMATE
   ============================================= */
.cta-estimate {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  padding: 70px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-text p { color: rgba(255,255,255,0.8); font-size: 16px; }

/* =============================================
   HOW WE HELP
   ============================================= */
.how-help { background: var(--white); }
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.help-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-align: center;
}
.help-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}
.help-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: var(--white);
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(59,63,165,0.25);
}
.help-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.help-card p { font-size: 14px; line-height: 1.7; color: var(--text-body); }

/* =============================================
   APPOINTMENT
   ============================================= */
.appointment { background: var(--bg-section); }
.appointment-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
.appointment-info {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 40px 32px;
  color: var(--white);
}
.appointment-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-item i {
  font-size: 20px;
  color: var(--accent);
  width: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item strong { display: block; font-size: 15px; margin-bottom: 4px; }
.contact-item p { font-size: 14px; opacity: 0.85; }

/* Form */
.appointment-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full-width { margin-bottom: 20px; }
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.required { color: #e53e3e; }
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit { width: 100%; justify-content: center; font-size: 16px; padding: 16px; }
.form-success {
  margin-top: 16px;
  background: #e6f9f0;
  color: #2d7a5f;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #b2e8d4;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-logo i {
  font-size: 24px;
  color: var(--accent);
}
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-contact i { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .help-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-us-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .top-bar .container { justify-content: center; font-size: 12px; }

  /* Mobile Nav */
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 20px 24px;
    transform: translateY(-100vh);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-link { width: 100%; padding: 12px 16px; }

  /* Sections */
  .section { padding: 56px 0; }
  .why-us-grid { grid-template-columns: 1fr; }
  .why-us-image { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr 1fr; }
  .appointment-wrapper { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .help-grid { grid-template-columns: 1fr; }
  .badges { flex-direction: column; }
  .appointment-form { padding: 24px 20px; }
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }










/* =============================================
   RON PAGE HERO — UPLOAD CTA OVERRIDE
   ============================================= */
.page-hero--ron {
  min-height: 420px;
}

.page-hero--ron .page-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.ron-upload-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  max-width: 720px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ron-upload-btn {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
  font-size: 16px;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.ron-upload-btn:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .page-hero--ron { min-height: 300px; }
  .ron-upload-title { font-size: clamp(20px, 5vw, 30px); }
  .ron-upload-btn { font-size: 14px; padding: 14px 28px; }
}

@media (max-width: 480px) {
  .ron-upload-title { font-size: 20px; }
  .page-hero--ron .page-hero-content { align-items: center; text-align: center; }
}