/*
Theme Name: FloodFixPro Pro
Theme URI: https://floodfixpro.com/
Description: Custom professional theme for FloodFixPro - water damage restoration guides. Child theme of GeneratePress.
Author: FloodFixPro
Template: generatepress
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: floodfixpro-pro
*/

/* ============ Brand tokens ============ */
:root {
  --ff-navy: #0f2a43;
  --ff-blue: #1b7fc1;
  --ff-blue-dark: #14679e;
  --ff-sky: #e8f3fa;
  --ff-sky-soft: #f4f9fd;
  --ff-alert: #d64545;
  --ff-text: #33414f;
  --ff-muted: #64798d;
  --ff-radius: 22px;
}

/* ============ Base ============ */
body { color: var(--ff-text); font-size: 17px; line-height: 1.75; background: #fff; }
a { color: var(--ff-blue-dark); }
a:hover { color: var(--ff-blue); }
.home .site-content { display: block; }
.home .site-main { margin: 0; }

/* ============ Emergency strip (site-wide) ============ */
.ff-estrip { background: linear-gradient(90deg, #d64545, #e86a5a); color: #fff; font-size: 14px; font-weight: 600; text-align: center; padding: 10px 16px; }
.ff-estrip a { color: #fff; text-decoration: underline; font-weight: 800; }
.ff-estrip a:hover { color: #ffe9e4; }

/* ============ Header ============ */
.site-header { background: #fff; box-shadow: 0 2px 18px rgba(27,127,193,.08); }
.main-title a { color: var(--ff-navy); font-weight: 800; letter-spacing: -.5px; }
.main-navigation .main-nav ul li a { font-weight: 600; color: var(--ff-navy); border-radius: 10px; }
.main-navigation .main-nav ul li a:hover { color: var(--ff-blue-dark); background: var(--ff-sky); }
.main-navigation .main-nav ul .current-menu-item a { color: var(--ff-blue-dark); }

/* ============ Layout ============ */
.ff-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.ff-section { padding: 72px 0; }
.ff-kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--ff-blue); background: var(--ff-sky); border-radius: 30px; padding: 8px 18px; margin-bottom: 18px; }
.ff-h { color: var(--ff-navy); font-size: 34px; letter-spacing: -.5px; margin: 0 0 14px; }
.ff-lead { color: var(--ff-muted); font-size: 18px; max-width: 680px; margin: 0 0 40px; }

/* ============ Buttons ============ */
.ff-btn { display: inline-block; padding: 15px 34px; border-radius: 14px; font-weight: 700; text-decoration: none; margin: 6px 8px 6px 0; transition: transform .15s ease, box-shadow .15s ease; font-size: 16px; }
.ff-btn:hover { transform: translateY(-2px); text-decoration: none; }
.ff-btn-primary { background: var(--ff-blue); color: #fff; box-shadow: 0 8px 22px rgba(27,127,193,.35); }
.ff-btn-primary:hover { color: #fff; background: var(--ff-blue-dark); }
.ff-btn-soft { background: var(--ff-sky); color: var(--ff-blue-dark); }
.ff-btn-soft:hover { background: #d8ebf8; color: var(--ff-blue-dark); }

/* ============ Split hero ============ */
.ff-hero { background: linear-gradient(180deg, var(--ff-sky-soft) 0%, #fff 100%); padding: 72px 0 80px; overflow: hidden; }
.ff-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ff-hero h1 { color: var(--ff-navy); font-size: 52px; line-height: 1.12; letter-spacing: -.7px; margin: 0 0 20px; }
.ff-hero h1 em { font-style: normal; color: var(--ff-blue); }
.ff-hero .ff-sub { color: var(--ff-muted); font-size: 19px; margin: 0 0 30px; max-width: 520px; }
.ff-hero-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.ff-hero-points li { font-size: 14px; font-weight: 700; color: var(--ff-navy); display: flex; align-items: center; gap: 8px; }
.ff-hero-points .tick { width: 26px; height: 26px; border-radius: 50%; background: #dff0da; color: #2e7d32; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.ff-hero-img { position: relative; }
.ff-hero-img > img { width: 100%; border-radius: 28px; box-shadow: 0 24px 60px rgba(15,42,67,.18); display: block; }
.ff-float { position: absolute; background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(15,42,67,.16); padding: 14px 18px; font-size: 14px; font-weight: 700; color: var(--ff-navy); display: flex; align-items: center; gap: 10px; }
.ff-float .dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.ff-float-1 { top: 26px; left: -24px; }
.ff-float-1 .dot { background: #2e7d32; box-shadow: 0 0 0 5px #dff0da; animation: ff-pulse 2s infinite; }
.ff-float-2 { bottom: 30px; right: -18px; }
.ff-float-2 .dot { background: var(--ff-blue); box-shadow: 0 0 0 5px var(--ff-sky); }
@keyframes ff-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* ============ Source bar ============ */
.ff-sources { border-top: 1px solid #e6eef5; border-bottom: 1px solid #e6eef5; background: #fff; padding: 18px 0; text-align: center; font-size: 14px; color: var(--ff-muted); font-weight: 600; letter-spacing: 1px; }
.ff-sources span { margin: 0 18px; white-space: nowrap; }

/* ============ Alternating service rows ============ */
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 72px; }
.ff-row:last-child { margin-bottom: 0; }
.ff-row.flip .ff-row-img { order: 2; }
.ff-row-img img { width: 100%; border-radius: var(--ff-radius); box-shadow: 0 18px 44px rgba(15,42,67,.13); display: block; }
.ff-row h3 { color: var(--ff-navy); font-size: 28px; margin: 0 0 14px; letter-spacing: -.4px; }
.ff-row p { color: var(--ff-muted); margin: 0 0 22px; }
.ff-row ul { list-style: none; margin: 0 0 26px; padding: 0; }
.ff-row ul li { padding: 8px 0 8px 30px; position: relative; font-size: 16px; }
.ff-row ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--ff-blue); font-weight: 800; }

/* ============ Emergency band ============ */
.ff-alert-band { background: #fdf1f0; border: 2px solid #f3c1bd; border-radius: var(--ff-radius); padding: 44px; display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.ff-alert-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--ff-alert); color: #fff; font-size: 34px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ff-alert-band h2 { color: #8f2b26; margin: 0 0 10px; font-size: 26px; }
.ff-alert-band p { color: #7a4a46; margin: 0 0 18px; }
.ff-alert-steps { display: flex; gap: 26px; flex-wrap: wrap; margin: 0 0 22px; }
.ff-alert-steps div { font-size: 15px; font-weight: 600; color: #5c3532; }
.ff-alert-steps strong { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ff-alert); color: #fff; font-size: 15px; margin-right: 8px; }

/* ============ Guide list ============ */
.ff-guide { display: grid; grid-template-columns: 200px 1fr auto; gap: 26px; align-items: center; background: #fff; border: 1px solid #e9eff5; border-radius: 18px; padding: 20px; margin-bottom: 18px; transition: box-shadow .15s ease, transform .15s ease; }
.ff-guide:hover { box-shadow: 0 12px 30px rgba(15,42,67,.10); transform: translateY(-2px); }
.ff-guide img { width: 200px; height: 130px; object-fit: cover; border-radius: 12px; display: block; }
.ff-guide h3 { margin: 0 0 8px; font-size: 20px; }
.ff-guide h3 a { color: var(--ff-navy); text-decoration: none; }
.ff-guide h3 a:hover { color: var(--ff-blue-dark); }
.ff-guide p { color: var(--ff-muted); font-size: 15px; margin: 0; }
.ff-guide .ff-go { width: 52px; height: 52px; border-radius: 50%; background: var(--ff-sky); color: var(--ff-blue-dark); font-size: 22px; display: flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0; }
.ff-guide .ff-go:hover { background: var(--ff-blue); color: #fff; }
.ff-center { text-align: center; margin-top: 36px; }

/* ============ FAQ accordion ============ */
.ff-faq { max-width: 780px; margin: 0 auto; }
.ff-faq details { background: #fff; border: 1px solid #e9eff5; border-radius: 14px; margin-bottom: 14px; padding: 0; overflow: hidden; }
.ff-faq summary { padding: 20px 24px; font-weight: 700; color: var(--ff-navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 17px; }
.ff-faq summary::-webkit-details-marker { display: none; }
.ff-faq summary::after { content: "+"; font-size: 26px; color: var(--ff-blue); font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.ff-faq details[open] summary::after { transform: rotate(45deg); }
.ff-faq details p { padding: 0 24px 22px; margin: 0; color: var(--ff-muted); }

/* ============ CTA card ============ */
.ff-cta-card { background: linear-gradient(135deg, #0f2a43 0%, #14679e 100%); border-radius: 28px; text-align: center; padding: 64px 32px; color: #fff; position: relative; overflow: hidden; }
.ff-cta-card::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: rgba(27,127,193,.35); filter: blur(100px); top: -200px; right: -160px; }
.ff-cta-card h2 { color: #fff; font-size: 32px; margin: 0 0 14px; position: relative; }
.ff-cta-card p { color: #cfe3f2; max-width: 600px; margin: 0 auto 28px; position: relative; }
.ff-cta-card .ff-btn { position: relative; }
.ff-btn-white { background: #fff; color: var(--ff-blue-dark); }
.ff-btn-white:hover { color: var(--ff-blue-dark); background: var(--ff-sky); }

/* ============ Footer (light) ============ */
.site-footer { background: var(--ff-sky-soft); border-top: 3px solid var(--ff-blue); }
.site-footer .footer-widgets { color: var(--ff-muted); }
.site-info { background: #fff; color: var(--ff-muted); border-top: 1px solid #e6eef5; }
.site-info a { color: var(--ff-blue-dark); text-decoration: none; }
.site-info a:hover { color: var(--ff-blue); }
.ff-footer-links a { margin: 0 10px; }

/* ============ Single posts ============ */
.single .entry-title { color: var(--ff-navy); letter-spacing: -.3px; }
.single .entry-content h2 { color: var(--ff-navy); }
.single .entry-content h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--ff-blue); border-radius: 4px; margin-top: 10px; }
.single .entry-content h3 { color: var(--ff-navy); }

/* ============ Archives ============ */
.archive .page-header h1, .blog .page-header h1 { color: var(--ff-navy); font-weight: 800; }
.archive .inside-article { border: 1px solid #e9eff5; border-radius: 16px; overflow: hidden; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .ff-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ff-hero h1 { font-size: 38px; }
  .ff-row { grid-template-columns: 1fr; gap: 28px; }
  .ff-row.flip .ff-row-img { order: 0; }
  .ff-float-1 { left: 8px; }
  .ff-float-2 { right: 8px; }
  .ff-guide { grid-template-columns: 140px 1fr; }
  .ff-guide .ff-go { display: none; }
  .ff-guide img { width: 140px; height: 100px; }
  .ff-alert-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 620px) {
  .ff-hero { padding: 52px 0 60px; }
  .ff-hero h1 { font-size: 30px; }
  .ff-section { padding: 52px 0; }
  .ff-h { font-size: 27px; }
}
