/* AquaFlow Pro — style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #0284c7;
  --blue-dark: #0369a1;
  --navy: #0f172a;
  --red: #ef4444;
  --red-dark: #dc2626;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --text-main: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(15,23,42,0.08);
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); background: var(--white); line-height: 1.6; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }
section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; background: #e0f2fe; color: var(--blue); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.82rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 18px; border-radius: 50px; margin-bottom: 14px; }
.section-header h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 14px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: #cbd5e1; }
.section-header.light .section-tag { background: rgba(56,189,248,0.15); color: #38bdf8; }

/* HERO */
.hero-section { position: relative; min-height: 92vh; display: flex; align-items: center; background: var(--navy); overflow: hidden; padding: 100px 0; }
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; filter: contrast(110%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.75) 100%); }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(239,68,68,0.15); border: 1px solid var(--red); color: #fca5a5; padding: 8px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; margin-bottom: 24px; text-transform: uppercase; }
.hero-text h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); line-height: 1.15; margin-bottom: 22px; }
.hero-text h1 .blue { color: #38bdf8; }
.hero-text p { color: #cbd5e1; font-size: 1.12rem; margin-bottom: 34px; line-height: 1.7; max-width: 560px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.btn-red { background: var(--red); color: white; padding: 15px 34px; border-radius: 6px; text-decoration: none; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 0.95rem; transition: all 0.3s; border: none; cursor: pointer; box-shadow: 0 4px 16px rgba(239,68,68,0.4); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(239,68,68,0.5); }
.btn-outline-white { background: transparent; color: white; padding: 15px 32px; border-radius: 6px; text-decoration: none; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; border: 2px solid rgba(255,255,255,0.4); transition: all 0.3s; }
.btn-outline-white:hover { border-color: #38bdf8; color: #38bdf8; }

/* HERO EMERGENCY DISPATCH CARD */
.dispatch-card { background: var(--white); border-radius: 14px; padding: 36px 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); border-top: 5px solid var(--red); }
.dispatch-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.dispatch-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; }
.dispatch-form .form-group { margin-bottom: 14px; }
.dispatch-form input, .dispatch-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.92rem; font-family: inherit; outline: none; }
.dispatch-form input:focus, .dispatch-form select:focus { border-color: var(--blue); }
.dispatch-btn { width: 100%; padding: 15px; background: var(--navy); color: white; border: none; border-radius: 6px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1rem; cursor: pointer; transition: all 0.3s; margin-top: 8px; }
.dispatch-btn:hover { background: var(--blue); }

/* STATS */
.stats-strip { background: #0b1120; padding: 36px 0; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; text-align: center; }
.stat-box .num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.8rem; font-weight: 800; color: #38bdf8; display: block; margin-bottom: 4px; }
.stat-box .label { color: #94a3b8; font-size: 0.88rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* SERVICES (royalservices) */
.services-section { background: var(--light-bg); }
.royalservices.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card { background: var(--white); border-radius: 12px; padding: 38px 28px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: all 0.3s ease; position: relative; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(2,132,199,0.12); border-color: var(--blue); }
.service-icon { width: 56px; height: 56px; background: #e0f2fe; color: var(--blue); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 16px; }
.service-price { font-weight: 800; color: var(--blue); font-size: 1.05rem; }

/* COVERAGE / ABOUT */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-badge { position: absolute; bottom: 20px; right: 20px; background: var(--navy); color: white; padding: 18px 24px; border-radius: 8px; border-left: 4px solid var(--red); }
.about-badge strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.2rem; color: #38bdf8; }
.about-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 20px; }
.about-text p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 18px; }
.about-points { list-style: none; margin-top: 24px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); margin-bottom: 12px; font-size: 0.95rem; }
.about-points li::before { content: '✓'; color: var(--blue); font-weight: 800; font-size: 1.1rem; }

/* TIMELINE (royaltimeline) */
.timeline-section { background: var(--navy); }
.royaltimeline.timeline-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.timeline-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 32px 22px; text-align: center; transition: all 0.3s; }
.timeline-card:hover { border-color: #38bdf8; transform: translateY(-4px); }
.timeline-num { width: 48px; height: 48px; background: var(--blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.25rem; font-weight: 800; margin: 0 auto 18px; }
.timeline-card h3 { color: white; font-size: 1.2rem; margin-bottom: 8px; }
.timeline-card p { color: #94a3b8; font-size: 0.88rem; line-height: 1.6; }

/* CASE STUDIES (royalportfolio) */
.cases-section { background: var(--light-bg); }
.royalportfolio.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.case-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; }
.case-card:hover { transform: translateY(-5px); }
.case-card img { width: 100%; height: 210px; object-fit: cover; }
.case-body { padding: 22px; }
.case-tag { display: inline-block; background: #e0f2fe; color: var(--blue); font-size: 0.75rem; font-weight: 800; padding: 3px 10px; border-radius: 3px; text-transform: uppercase; margin-bottom: 8px; }
.case-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.case-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* PRICING (royalpricingtable) */
.pricing-section { background: var(--white); }
.royalpricingtable.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1050px; margin: 0 auto; }
.pricing-card { background: var(--light-bg); border: 1px solid var(--border); border-radius: 14px; padding: 44px 30px; text-align: center; transition: all 0.3s; position: relative; }
.pricing-card:hover { transform: translateY(-6px); }
.pricing-card.featured { background: var(--navy); border-color: var(--blue); color: white; box-shadow: 0 16px 48px rgba(15,23,42,0.25); transform: scale(1.02); }
.pricing-card.featured h3 { color: white; }
.pricing-card.featured p { color: #94a3b8; }
.pricing-badge { background: var(--red); color: white; font-size: 0.75rem; font-weight: 800; padding: 4px 14px; border-radius: 50px; text-transform: uppercase; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }
.pricing-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pricing-rate { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.8rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.pricing-rate span { font-size: 0.95rem; font-family: 'Inter', sans-serif; color: var(--text-muted); font-weight: 500; }
.pricing-card.featured .pricing-rate { color: #38bdf8; }
.pricing-features { list-style: none; text-align: left; margin: 24px 0 32px; }
.pricing-features li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
.pricing-card.featured .pricing-features li { border-bottom-color: rgba(255,255,255,0.08); color: #cbd5e1; }
.pricing-features li::before { content: '✓'; color: var(--blue); font-weight: 800; }
.plan-btn { display: block; width: 100%; padding: 13px; border-radius: 6px; font-weight: 800; text-decoration: none; font-size: 0.92rem; transition: all 0.3s; }
.pricing-card .plan-btn { background: var(--navy); color: white; }
.pricing-card .plan-btn:hover { background: var(--blue); }
.pricing-card.featured .plan-btn { background: var(--blue); color: white; }
.pricing-card.featured .plan-btn:hover { background: #0369a1; }

/* TEAM (royalteam) */
.team-section { background: var(--light-bg); }
.royalteam.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 30px; }
.team-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); text-align: center; }
.team-card img { width: 100%; height: 260px; object-fit: cover; }
.team-body { padding: 24px 20px; }
.team-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.team-role { color: var(--blue); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.team-bio { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* REVIEWS (royalreview) */
.reviews-section { background: var(--navy); }
.royalreview.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.review-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 32px 24px; color: white; }
.stars { color: #f59e0b; font-size: 1.2rem; margin-bottom: 14px; letter-spacing: 2px; }
.review-card p { font-size: 0.98rem; font-style: italic; line-height: 1.8; margin-bottom: 22px; color: #cbd5e1; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blue); }
.reviewer strong { display: block; font-size: 0.95rem; }
.reviewer small { color: #94a3b8; font-size: 0.82rem; }

/* FORM (royalform) */
.contact-section { background: var(--white); }
.royalform.form-wrapper { max-width: 800px; margin: 0 auto; background: var(--light-bg); border: 1px solid var(--border); border-radius: 14px; padding: 48px; box-shadow: var(--shadow); }
.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 label { font-size: 0.85rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea { padding: 13px 16px; border: 1px solid var(--border); border-radius: 6px; font-family: 'Inter', sans-serif; font-size: 0.92rem; outline: none; transition: border-color 0.25s; background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group.full { grid-column: 1 / -1; }
.submit-btn { width: 100%; padding: 16px; background: var(--navy); color: white; border: none; border-radius: 6px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; font-weight: 800; cursor: pointer; transition: all 0.3s; margin-top: 10px; }
.submit-btn:hover { background: var(--blue); transform: translateY(-2px); }

/* FOOTER */
.site-footer { background: #070d19; padding: 70px 0 24px; color: white; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 48px; }
.footer-col h4 { color: white; font-size: 1.2rem; margin-bottom: 18px; font-family: 'Plus Jakarta Sans', sans-serif; }
.footer-col p { color: #94a3b8; font-size: 0.9rem; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: #38bdf8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; color: #64748b; font-size: 0.85rem; }
.footer-bottom a { color: #38bdf8; text-decoration: none; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero-content, .about-grid, .form-row { grid-template-columns: 1fr; }
  .royalpricingtable.pricing-grid, .royaltimeline.timeline-steps { grid-template-columns: 1fr; }
  .royalform.form-wrapper { padding: 28px 20px; }
}
