/*
Theme Name: OverRayWay Theme
Theme URI: https://overrayway.online/
Author: OpenAI
Version: 1.0.0
Description: WordPress conversion of the OverRayWay static website.
Text Domain: overrayway
*/

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

:root {
  --navy: #0f1f3d;
  --blue: #1a3a6e;
  --accent: #e63312;
  --gold: #f5a623;
  --light: #f5f7fa;
  --white: #ffffff;
  --text: #1a2332;
  --muted: #5a6b7d;
  --border: #dde4ef;
  --green: #16a34a;
  --surface: #eef2f8;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--white); color: var(--text); line-height:1.7; }

/* DISCLAIMER BANNER */
.disclaimer-banner {
  background: linear-gradient(90deg, #b91c1c, #d97706);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 600;
  position: relative;
  z-index: 1001;
}
.disclaimer-banner a { color: #fde68a; text-decoration: underline; }

/* NAV */
nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--gold); }
.nav-links { display:flex; gap:22px; list-style:none; align-items:center; flex-wrap:wrap; }
.nav-links a { color: #a8bcd4; text-decoration:none; font-size:13px; font-weight:500; transition:color .2s; white-space:nowrap; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--accent) !important; color: #fff !important; padding:8px 18px; border-radius:6px; font-weight:700 !important; }
.nav-cta:hover { background: #c0190d !important; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 55%, #1e5a9e 100%);
  color: var(--white);
  padding: 90px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content:'';
  position:absolute;
  top:-100px;right:-100px;
  width:600px;height:600px;
  background:radial-gradient(circle,rgba(245,166,35,.08) 0%,transparent 70%);
  border-radius:50%;
}
.hero-badge {
  display:inline-block;
  background:rgba(245,166,35,.2);
  border:1px solid rgba(245,166,35,.5);
  color:var(--gold);
  padding:6px 18px;
  border-radius:20px;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  margin-bottom:20px;
}
.hero h1 {
  font-family:'Fraunces',serif;
  font-size:clamp(32px,5vw,64px);
  font-weight:900;
  line-height:1.05;
  max-width:820px;
  margin:0 auto 20px;
}
.hero h1 em { color:var(--gold); font-style:normal; }
.hero p { font-size:17px; color:#a8c0d8; max-width:600px; margin:0 auto 36px; line-height:1.75; }
.hero-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.btn-primary { background:var(--accent); color:#fff; padding:14px 32px; border-radius:8px; font-weight:700; font-size:15px; text-decoration:none; transition:transform .2s,box-shadow .2s; display:inline-block; }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(230,51,18,.4); }
.btn-outline { border:2px solid rgba(255,255,255,.35); color:#fff; padding:14px 32px; border-radius:8px; font-weight:600; font-size:15px; text-decoration:none; transition:border-color .2s,background .2s; display:inline-block; }
.btn-outline:hover { border-color:#fff; background:rgba(255,255,255,.08); }

/* SECTIONS */
section { padding:72px 40px; }
.container { max-width:1100px; margin:0 auto; }
.sec-label { font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--accent); margin-bottom:10px; }
h2 { font-family:'Fraunces',serif; font-size:clamp(28px,4vw,44px); font-weight:700; color:var(--navy); line-height:1.15; margin-bottom:16px; }
.lead { font-size:16.5px; color:var(--muted); max-width:680px; line-height:1.8; margin-bottom:48px; }

/* CARDS */
.cards-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:24px; }
.card {
  background:var(--white);
  border:1px solid var(--border);
  border-radius:14px;
  padding:32px 24px;
  transition:transform .25s,box-shadow .25s;
  position:relative;
  overflow:hidden;
}
.card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(15,31,61,.1); }
.card-icon { font-size:32px; margin-bottom:16px; }
.card h3 { font-family:'Fraunces',serif; font-size:19px; font-weight:700; color:var(--navy); margin-bottom:10px; }
.card p { font-size:14.5px; color:var(--muted); line-height:1.7; }

/* COMPARISON TABLE */
.comp-table { width:100%; border-collapse:collapse; border-radius:12px; overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,.08); }
.comp-table th { background:var(--navy); color:#fff; padding:16px 20px; text-align:left; font-size:13px; font-weight:700; letter-spacing:.3px; }
.comp-table th:first-child { background:var(--blue); }
.comp-table td { padding:14px 20px; font-size:14px; border-bottom:1px solid var(--border); vertical-align:middle; }
.comp-table tr:nth-child(even) td { background:var(--light); }
.comp-table tr:hover td { background:#e8f0fb; }
.comp-table tr:last-child td { border-bottom:none; }
.geico-col { background:rgba(26,58,110,.05) !important; }
.prog-col { background:rgba(230,51,18,.04) !important; }
.check { color:var(--green); font-weight:700; }
.cross { color:var(--accent); font-weight:700; }
.partial { color:var(--gold); font-weight:700; }

/* ACCORDION FAQ */
.faq-list { display:flex; flex-direction:column; gap:4px; }
.faq-item { background:var(--white); border:1px solid var(--border); border-radius:10px; overflow:hidden; }
.faq-q { padding:18px 24px; font-size:15px; font-weight:600; color:var(--navy); cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; transition:background .2s; user-select:none; }
.faq-q:hover { background:var(--light); }
.faq-q.active { background:var(--navy); color:#fff; }
.faq-arrow { font-size:18px; flex-shrink:0; transition:transform .3s; }
.faq-q.active .faq-arrow { transform:rotate(180deg); }
.faq-a { display:none; padding:18px 24px; font-size:14.5px; color:var(--muted); line-height:1.8; border-top:1px solid var(--border); }
.faq-item.open .faq-a { display:block; }

/* PROS CONS */
.pros-cons { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.pros-box, .cons-box { border-radius:12px; padding:28px; }
.pros-box { background:#f0fdf4; border:1px solid #bbf7d0; }
.cons-box { background:#fef2f2; border:1px solid #fecaca; }
.pros-box h3 { color:#16a34a; font-family:'Fraunces',serif; margin-bottom:16px; }
.cons-box h3 { color:#dc2626; font-family:'Fraunces',serif; margin-bottom:16px; }
.pros-box li, .cons-box li { font-size:14px; padding:7px 0; border-bottom:1px solid rgba(0,0,0,.06); list-style:none; display:flex; gap:8px; }
.pros-box li:last-child, .cons-box li:last-child { border-bottom:none; }
.pros-box li::before { content:'✓'; color:#16a34a; font-weight:700; }
.cons-box li::before { content:'✗'; color:#dc2626; font-weight:700; }

/* DISCLAIMER BOX */
.disc-box { background:#fef9c3; border:2px solid #f59e0b; border-radius:12px; padding:28px 32px; margin:32px 0; }
.disc-box h3 { color:#92400e; font-family:'Fraunces',serif; margin-bottom:12px; font-size:18px; }
.disc-box p { font-size:14px; color:#78350f; line-height:1.8; }

/* INFO BOX */
.info-box { background:var(--light); border-left:4px solid var(--blue); border-radius:0 10px 10px 0; padding:20px 24px; margin:24px 0; }
.info-box p { font-size:14.5px; color:var(--muted); line-height:1.75; }

/* BADGE */
.badge { display:inline-block; padding:3px 12px; border-radius:20px; font-size:11px; font-weight:700; }
.badge-green { background:#d1fae5; color:#065f46; }
.badge-blue { background:#dbeafe; color:#1e40af; }
.badge-red { background:#fee2e2; color:#991b1b; }
.badge-gold { background:#fef3c7; color:#92400e; }

/* CONTACT FORM */
.form-group { margin-bottom:20px; }
.form-label { display:block; font-size:13px; font-weight:600; color:var(--navy); margin-bottom:7px; letter-spacing:.3px; }
.form-input { width:100%; padding:13px 16px; border:1px solid var(--border); border-radius:8px; font-family:inherit; font-size:15px; outline:none; transition:border-color .2s; color:var(--text); background:var(--white); }
.form-input:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(26,58,110,.1); }
.form-input::placeholder { color:#9ca3af; }
textarea.form-input { resize:vertical; min-height:130px; }
.form-submit { background:var(--accent); color:#fff; border:none; padding:14px 36px; border-radius:8px; font-size:15px; font-weight:700; cursor:pointer; font-family:inherit; transition:background .2s,transform .15s; }
.form-submit:hover { background:#c0190d; transform:translateY(-1px); }

/* BLOG CARDS */
.blog-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:28px; }
.blog-card { background:var(--white); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:transform .25s,box-shadow .25s; }
.blog-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,.1); }
.blog-img { height:160px; background:linear-gradient(135deg,var(--navy),var(--blue)); display:flex; align-items:center; justify-content:center; font-size:48px; }
.blog-body { padding:22px; }
.blog-cat { font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--accent); margin-bottom:8px; }
.blog-card h3 { font-family:'Fraunces',serif; font-size:18px; font-weight:700; color:var(--navy); margin-bottom:10px; line-height:1.3; }
.blog-card p { font-size:14px; color:var(--muted); line-height:1.65; }
.blog-meta { display:flex; gap:14px; margin-top:14px; font-size:12px; color:var(--muted); }

/* TESTIMONIALS */
.testimonials-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:24px; }
.testimonial { background:var(--white); border:1px solid var(--border); border-radius:14px; padding:28px; position:relative; }
.testimonial::before { content:'"'; font-family:'Fraunces',serif; font-size:60px; color:var(--gold); position:absolute; top:10px; left:20px; line-height:1; opacity:.3; }
.testimonial p { font-size:14.5px; color:var(--text); line-height:1.75; padding-top:20px; font-style:italic; }
.testimonial-author { display:flex; align-items:center; gap:12px; margin-top:18px; }
.avatar { width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg,var(--navy),var(--blue)); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:16px; }
.testimonial-author h4 { font-size:14px; font-weight:700; color:var(--navy); }
.testimonial-author span { font-size:12px; color:var(--muted); }
.stars { color:var(--gold); font-size:14px; margin-bottom:4px; }

/* PHONE BANNER */
.phone-banner { background:linear-gradient(90deg,var(--navy),var(--blue)); color:#fff; padding:36px 40px; text-align:center; }
.phone-banner h3 { font-family:'Fraunces',serif; font-size:26px; margin-bottom:8px; }
.phone-banner p { color:#a8c0d8; margin-bottom:20px; }
.phone-num { font-family:'Fraunces',serif; font-size:36px; font-weight:900; color:var(--gold); display:block; margin-bottom:16px; }

/* FOOTER */
footer { background:var(--navy); color:#8a9db8; padding:56px 40px 28px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand .logo { display:block; margin-bottom:14px; }
.footer-brand p { font-size:13.5px; line-height:1.7; }
.footer-col h4 { color:#fff; font-size:13px; font-weight:700; margin-bottom:14px; letter-spacing:.5px; text-transform:uppercase; }
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:9px; }
.footer-col a { color:#8a9db8; text-decoration:none; font-size:13.5px; transition:color .2s; }
.footer-col a:hover { color:var(--gold); }
.footer-bottom { display:flex; justify-content:space-between; font-size:12px; flex-wrap:wrap; gap:10px; }
.footer-bottom a { color:var(--gold); text-decoration:none; }
.footer-disclaimer { background:rgba(245,166,35,.08); border:1px solid rgba(245,166,35,.2); border-radius:8px; padding:18px 20px; margin-bottom:24px; font-size:12px; color:#a8b8c8; line-height:1.7; }

/* STEPS */
.steps { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:24px; counter-reset:step; }
.step { background:var(--light); border-radius:14px; padding:28px 20px; text-align:center; position:relative; }
.step-num { width:48px; height:48px; background:var(--blue); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-size:20px; font-weight:700; margin:0 auto 16px; }
.step h3 { font-size:15px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.step p { font-size:13.5px; color:var(--muted); line-height:1.6; }

/* STATS ROW */
.stats-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:20px; }
.stat-box { background:var(--white); border:1px solid var(--border); border-radius:12px; padding:24px 20px; text-align:center; }
.stat-num { font-family:'Fraunces',serif; font-size:36px; font-weight:900; color:var(--navy); }
.stat-label { font-size:13px; color:var(--muted); margin-top:4px; }

/* DISCOUNTS LIST */
.discounts-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; }
.discount-item { background:var(--light); border-radius:8px; padding:14px 18px; display:flex; align-items:center; gap:12px; font-size:14px; color:var(--text); font-weight:500; }
.discount-item::before { content:'💰'; font-size:18px; flex-shrink:0; }

/* POLICY SECTIONS */
.policy-section { margin-bottom:36px; }
.policy-section h3 { font-family:'Fraunces',serif; font-size:20px; font-weight:700; color:var(--navy); margin-bottom:14px; padding-bottom:8px; border-bottom:2px solid var(--border); }
.policy-section p, .policy-section li { font-size:15px; color:var(--muted); line-height:1.85; margin-bottom:12px; }
.policy-section ul { padding-left:22px; }
.policy-section li { list-style:disc; }

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

/* RESPONSIVE */
@media(max-width:768px) {
  nav { padding:0 20px; flex-wrap:wrap; height:auto; padding:14px 20px; gap:10px; }
  .nav-links { gap:12px; }
  section { padding:48px 20px; }
  .pros-cons { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:28px; }
  .hero { padding:70px 20px 60px; }
}
@media(max-width:480px) {
  .footer-grid { grid-template-columns:1fr; }
  .comp-table { font-size:12px; }
  .comp-table th,.comp-table td { padding:10px 12px; }
}


main.site-main {
  min-height: 40vh;
}

.wp-block-button__link {
  border-radius: 8px;
}

.current-menu-item > a,
.current_page_item > a {
  color: var(--gold) !important;
}

.ril-flash {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 14px 18px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 14px;
}

.ril-contact-form-wrap {
  display:block;
}

@media (max-width: 900px) {
  nav {
    padding: 0 18px;
    height: auto;
    min-height: 68px;
    flex-direction: column;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .nav-links {
    justify-content:center;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .hero, section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .phone-banner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .pros-cons {
    grid-template-columns:1fr;
  }
}
