/* ============================================================
   Raydon Public Adjusters — Premium Stylesheet v4
   Design: Dark cinematic hero with gold particles.
   Playfair Display + Inter. Gold & charcoal palette.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500&display=swap');

:root {
  --bg: #ffffff;
  --bg-warm: #faf8f5;
  --bg-dark: #0f0e0d;
  --bg-card: rgba(255,255,255,0.7);
  --text: #171717;
  --text-mid: #555555;
  --text-light: #888888;
  --gold: #c49b3f;
  --gold-bright: #d4a94e;
  --gold-pale: #f5e6c8;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1200px;
  --section-gap: clamp(5rem, 10vw, 8rem);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.08);
  --shadow-gold: 0 4px 24px rgba(196,155,63,0.2);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.container--narrow { max-width: 860px; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.label::before { content: ''; width: 24px; height: 1.5px; background: var(--gold); }
.subtitle { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-mid); max-width: 680px; line-height: 1.75; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
}
.btn--primary { background: var(--gold); color: #fff; box-shadow: 0 4px 20px rgba(196,155,63,0.25); }
.btn--primary:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(196,155,63,0.35); }
.btn--outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn--outline-light:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }
.btn--dark { background: var(--bg-dark); color: #fff; border-radius: 100px; }
.btn--dark:hover { background: #2a2a2a; }
.btn--large { padding: 1rem 2.5rem; font-size: 0.9rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,14,13,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.4s;
}
.nav.scrolled {
  box-shadow: 0 1px 20px rgba(0,0,0,0.3);
}
.nav__inner { max-width: var(--container); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav__logo { display: flex; align-items: center; gap: 0.6rem; }
.nav__logo img { height: 72px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.nav__links a { color: rgba(255,255,255,0.78); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s; }
.nav__links a:hover { color: #fff; }
.nav__phone { color: var(--gold-bright) !important; font-weight: 600 !important; display: flex; align-items: center; gap: 0.4rem; }
.nav__toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 860px) {
  .nav__logo img { height: 48px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15,14,13,0.97); padding: 6rem 2rem; gap: 2rem; text-align: center; z-index: 99; }
  .nav__links.open a { font-size: 1rem; }
}

/* ── HERO (dark abstract + particles) ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0f0e0d;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 800px 600px at 30% 40%, rgba(196,155,63,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 600px 500px at 70% 80%, rgba(139,90,43,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 50% 20%, rgba(196,155,63,0.03) 0%, transparent 60%);
}
.hero__bg-texture {
  position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero__particles {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
}
.hero__content {
  position: relative; z-index: 3;
  width: 100%; padding: 8rem 0 4rem;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}
.hero__badge-dot { width: 5px; height: 5px; background: var(--gold-bright); border-radius: 50%; }
.hero__title { color: #fff; max-width: 750px; margin-bottom: 1.5rem; }
.hero__title em { color: var(--gold-bright); font-style: italic; }
.hero__text {
  color: rgba(255,255,255,0.55);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 580px; line-height: 1.8; margin-bottom: 2.25rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero__divider { width: 60px; height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 2rem; }
.hero__stats { display: flex; gap: clamp(2rem, 5vw, 4rem); }
.hero__stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700;
  color: var(--gold-bright); line-height: 1; margin-bottom: 0.25rem;
}
.hero__stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.35); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; }
@media (max-width: 600px) { .hero__stats { gap: 1.5rem; flex-wrap: wrap; } }

/* ── SECTIONS ── */
.section { padding: var(--section-gap) 0; }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--warm { background: var(--bg-warm); }
.section__header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__header h2 { margin-bottom: 1rem; }
.section__header .subtitle { margin: 0; }
.section__header--center { text-align: center; }
.section__header--center .subtitle { margin: 0 auto; }

/* ── WHAT IS PA ── */
.pa-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
.pa-info-text h3 { margin-bottom: 1rem; }
.pa-info-text p { color: var(--text-mid); margin-bottom: 1.25rem; line-height: 1.75; }
.pa-info-list { display: flex; flex-direction: column; gap: 0.75rem; }
.pa-info-list li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--text-mid); font-size: 0.95rem; line-height: 1.6; }
.pa-info-list li i { color: var(--gold); margin-top: 0.2rem; font-size: 0.9rem; }
.pa-info-card { background: var(--bg-warm); border-radius: 8px; padding: 2rem; border: 1px solid rgba(0,0,0,0.04); }
.pa-info-card h4 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.pa-info-card p { color: var(--text-mid); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
@media (max-width: 768px) { .pa-info-grid { grid-template-columns: 1fr; } }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card { background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 8px; padding: clamp(1.5rem, 3vw, 2.25rem); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card__icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--bg-warm); border-radius: 8px; margin-bottom: 1.25rem; color: var(--gold); font-size: 1.3rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--text-mid); font-size: 0.95rem; line-height: 1.65; }

/* ── LOSS TYPES ── */
.loss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.loss-card { position: relative; border-radius: 6px; overflow: hidden; min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; transition: transform 0.35s; cursor: default; }
.loss-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,14,13,0.1) 0%, rgba(15,14,13,0.78) 100%); z-index: 1; }
.loss-card:hover { transform: translateY(-3px); }
.loss-card__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s; }
.loss-card:hover .loss-card__bg { transform: scale(1.05); }
.loss-card__content { position: relative; z-index: 2; color: #fff; }
.loss-card__content h4 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.loss-card__content .icon { font-size: 1rem; margin-bottom: 0.5rem; opacity: 0.9; }
.loss-card__content p { font-size: 0.82rem; opacity: 0.7; }
@media (max-width: 600px) { .loss-grid { grid-template-columns: 1fr 1fr; } .loss-card { min-height: 150px; } }
@media (max-width: 400px) { .loss-grid { grid-template-columns: 1fr; } }

/* ── WHY RAYDON ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.why-benefit { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.why-benefit i { color: var(--gold); font-size: 1.1rem; margin-top: 0.15rem; }
.why-benefit div h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.why-benefit div p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

/* ── AUTHORITY ── */
.authority-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
.authority-img { border-radius: 6px; overflow: hidden; }
.authority-img img { width: 100%; height: 440px; object-fit: cover; }
.authority-text h3 { margin-bottom: 1rem; }
.authority-text p { color: var(--text-mid); margin-bottom: 1.25rem; line-height: 1.75; font-size: 0.95rem; }
.authority-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.authority-stat { background: var(--bg-warm); border-radius: 6px; padding: 1.5rem; text-align: center; }
.authority-stat strong { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--gold); display: block; line-height: 1; margin-bottom: 0.25rem; }
.authority-stat span { font-size: 0.78rem; color: var(--text-light); letter-spacing: 0.04em; }
@media (max-width: 768px) { .authority-grid { grid-template-columns: 1fr; } }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.blog-card { background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card__img { height: 180px; background: var(--bg-warm); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--text-light); }
.blog-card__body { padding: 1.5rem; }
.blog-card__body h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.blog-card__body p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }
.blog-card__body .read-more { color: var(--gold); font-weight: 600; font-size: 0.85rem; margin-top: 0.75rem; display: inline-block; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 0.85rem 1rem; border: 1px solid #ddd; border-radius: 8px; font-family: var(--font-sans); font-size: 0.9rem; background: #fff; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,155,63,0.08); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-item i { color: var(--gold); font-size: 1.1rem; margin-top: 0.2rem; width: 1.5rem; text-align: center; }
.contact-info-item strong { display: block; font-size: 0.9rem; margin-bottom: 0.15rem; }
.contact-info-item span { font-size: 0.9rem; color: rgba(255,255,255,0.72); }
.license-badge { display: inline-block; background: var(--bg-warm); border: 1px solid rgba(0,0,0,0.06); border-radius: 8px; padding: 0.4rem 0.85rem; font-size: 0.8rem; font-weight: 600; color: var(--text-mid); margin-top: 0.5rem; letter-spacing: 0.03em; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── FOOTER ── */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.4); padding: 3.5rem clamp(1rem, 4vw, 2rem); text-align: center; }
.footer__logo { margin-bottom: 0.75rem; }
.footer__logo img { height: 42px; margin: 0 auto; }
.footer p { font-size: 0.82rem; margin-top: 0.5rem; }
.footer .footer__brand { color: #fff; font-family: var(--font-heading); font-size: 1rem; margin-bottom: 0.2rem; }
.footer .footer__gold { color: var(--gold); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 0.05s; }
.reveal--d2 { transition-delay: 0.1s; }
.reveal--d3 { transition-delay: 0.15s; }
.reveal--d4 { transition-delay: 0.2s; }

/* ── FORM SUCCESS ── */
.form-success { display: none; text-align: center; padding: 3rem 1rem; }
.form-success i { font-size: 3rem; color: var(--gold); margin-bottom: 1rem; }
.form-success h3 { margin-bottom: 0.5rem; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ── LOGO SPLASH ── */
.logo-splash {
  position: fixed; inset: 0; z-index: 9999;
  background: #0f0e0d;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.logo-splash.hide { opacity: 0; }
.logo-splash.done { display: none; }
.logo-splash img {
  width: clamp(160px, 28vw, 300px);
  height: auto;
  animation: splashIn 0.7s var(--ease) forwards;
}
@keyframes splashIn {
  0% { opacity: 0; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1); }
}