/*
Theme Name: Forensic Cleaning PR
Theme URI: https://forensiccleaningtechnician.com/
Author: Forensic Cleaning Technician Biohazard Cleaner Specialist Corp.
Description: Tema profesional en español para servicios de limpieza forense, descontaminación biohazard y bio-recovery en Puerto Rico.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: forensic-cleaning-pr
*/

:root {
  --fct-red: #c4122f;
  --fct-red-dark: #8f0e23;
  --fct-ink: #101318;
  --fct-charcoal: #1b2027;
  --fct-slate: #5d6672;
  --fct-border: #e3e7ec;
  --fct-soft: #f5f7f9;
  --fct-white: #ffffff;
  --fct-shadow: 0 18px 50px rgba(15, 18, 24, 0.12);
  --fct-radius: 22px;
  --fct-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fct-ink);
  background: var(--fct-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fct-red); text-decoration: none; }
a:hover { color: var(--fct-red-dark); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 36px), var(--fct-max)); margin-inline: auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--fct-soft); }
.section--dark { color: white; background: linear-gradient(135deg, #0f1217 0%, #1d232b 100%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--fct-red); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 99px; background: var(--fct-red); }
.section-title { margin: 12px 0 16px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; }
.section-lead { max-width: 760px; color: var(--fct-slate); font-size: 1.08rem; }
.section--dark .section-lead { color: #c9d0d8; }

.topbar { background: #0c0f13; color: #f4f6f8; font-size: .9rem; }
.topbar__inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar a { color: white; font-weight: 700; }
.topbar__urgent { display: flex; gap: 10px; align-items: center; }
.topbar__dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3150; box-shadow: 0 0 0 5px rgba(255,49,80,.14); }
.topbar__meta { display: flex; gap: 18px; color: #cbd2d9; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(227,231,236,.8); backdrop-filter: blur(14px); }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(15,18,24,.08); }
.site-header__inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; color: var(--fct-ink); }
.brand:hover { color: var(--fct-ink); }
.brand__mark { width: 58px; height: 58px; object-fit: contain; object-position: center; padding: 2px; border-radius: 10px; background: white; border: 1px solid var(--fct-border); }
.brand__text { line-height: 1.12; }
.brand__name { display: block; font-weight: 900; letter-spacing: -.025em; font-size: 1rem; }
.brand__sub { display: block; margin-top: 5px; color: var(--fct-slate); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--fct-ink); font-weight: 750; font-size: .94rem; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { background: var(--fct-soft); color: var(--fct-red); }
.header-call { margin-left: 8px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--fct-border); border-radius: 12px; background: white; cursor: pointer; }
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 5px auto; background: var(--fct-ink); border-radius: 99px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 850; transition: .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--fct-red); color: white; box-shadow: 0 10px 25px rgba(196,18,47,.22); }
.btn--primary:hover { background: var(--fct-red-dark); color: white; }
.btn--dark { background: var(--fct-ink); color: white; }
.btn--dark:hover { background: #282e37; color: white; }
.btn--ghost { border-color: #d7dce2; color: var(--fct-ink); background: white; }
.btn--ghost:hover { border-color: #b9c0c9; color: var(--fct-red); }
.btn--white { background: white; color: var(--fct-ink); }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 18%, rgba(196,18,47,.11), transparent 28%), linear-gradient(180deg, #fff 0%, #f6f8fa 100%); }
.hero__inner { min-height: 670px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; padding: 72px 0 82px; }
.hero h1 { margin: 13px 0 22px; font-size: clamp(2.65rem, 5.5vw, 5rem); line-height: .98; letter-spacing: -.055em; max-width: 760px; }
.hero h1 strong { color: var(--fct-red); }
.hero__lead { margin: 0 0 28px; color: #4e5762; font-size: clamp(1.05rem, 1.8vw, 1.24rem); max-width: 680px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 22px; color: #59626d; font-size: .92rem; font-weight: 700; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust i { width: 8px; height: 8px; border-radius: 50%; background: var(--fct-red); display: inline-block; }
.hero-card { position: relative; min-height: 490px; padding: 34px; border-radius: 32px; background: linear-gradient(150deg, #151920 0%, #080a0d 100%); box-shadow: var(--fct-shadow); color: white; overflow: hidden; }
.hero-card::before { content: "☣"; position: absolute; right: -35px; top: -65px; color: rgba(196,18,47,.20); font-size: 280px; line-height: 1; transform: rotate(-8deg); }
.hero-card::after { content: ""; position: absolute; width: 310px; height: 310px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; right: -130px; bottom: -150px; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018); }
.hero-card__logo { position: relative; z-index: 2; width: 120px; height: 142px; object-fit: contain; padding: 4px; border-radius: 18px; background: #fff; border: 1px solid rgba(255,255,255,.25); }
.hero-card h2 { position: relative; z-index: 2; margin: 24px 0 9px; font-size: 1.85rem; line-height: 1.1; }
.hero-card p { position: relative; z-index: 2; margin: 0; color: #cbd2da; max-width: 380px; }
.hero-card__stats { position: absolute; z-index: 2; left: 34px; right: 34px; bottom: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { padding: 16px 14px; border-radius: 15px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.stat strong { display: block; font-size: 1.17rem; }
.stat span { display: block; margin-top: 2px; color: #adb6c1; font-size: .76rem; }

.trust-strip { border-top: 1px solid var(--fct-border); border-bottom: 1px solid var(--fct-border); background: white; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 22px; border-right: 1px solid var(--fct-border); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 1rem; }
.trust-item span { color: var(--fct-slate); font-size: .9rem; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.service-card { position: relative; overflow: hidden; min-height: 250px; padding: 28px; border: 1px solid var(--fct-border); border-radius: var(--fct-radius); background: white; transition: .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--fct-shadow); border-color: transparent; }
.service-card__num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(196,18,47,.09); color: var(--fct-red); font-weight: 900; }
.service-card h3 { margin: 28px 0 10px; font-size: 1.25rem; line-height: 1.2; }
.service-card p { margin: 0; color: var(--fct-slate); }
.service-card__link { display: inline-flex; margin-top: 18px; color: var(--fct-ink); font-weight: 850; }
.service-card__link::after { content: "→"; margin-left: 7px; color: var(--fct-red); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-panel { position: relative; min-height: 480px; border-radius: 30px; background: #11151b; overflow: hidden; box-shadow: var(--fct-shadow); }
.about-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 25%, rgba(196,18,47,.33), transparent 29%), linear-gradient(160deg, transparent 40%, rgba(255,255,255,.03)); }
.about-panel__mark { position: absolute; right: 24px; top: 25px; width: 180px; max-height: 212px; object-fit: contain; opacity: .96; border-radius: 24px; }
.about-panel__content { position: absolute; left: 34px; right: 34px; bottom: 34px; color: white; }
.about-panel__content strong { display: block; font-size: 2.5rem; line-height: 1; }
.about-panel__content span { display: block; max-width: 360px; margin-top: 10px; color: #c8d0d8; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(196,18,47,.10); color: var(--fct-red); font-weight: 900; }

.process { counter-reset: steps; }
.process-step { position: relative; padding: 26px 22px 26px 72px; border-bottom: 1px solid rgba(255,255,255,.10); }
.process-step:last-child { border-bottom: 0; }
.process-step::before { counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: 24px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--fct-red); color: white; font-weight: 900; }
.process-step h3 { margin: 0 0 6px; }
.process-step p { margin: 0; color: #b9c2cb; }

.callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px; border-radius: 28px; background: var(--fct-red); color: white; box-shadow: 0 20px 50px rgba(196,18,47,.25); }
.callout h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.08; }
.callout p { margin: 0; color: #ffe7ec; }
.callout .btn { flex: 0 0 auto; }

.faq { max-width: 900px; margin-top: 30px; }
.faq-item { border-bottom: 1px solid var(--fct-border); }
.faq-button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; background: transparent; border: 0; text-align: left; font-weight: 850; color: var(--fct-ink); cursor: pointer; }
.faq-button::after { content: "+"; flex: 0 0 auto; font-size: 1.55rem; color: var(--fct-red); }
.faq-item.is-open .faq-button::after { content: "–"; }
.faq-answer { display: none; padding: 0 0 22px; color: var(--fct-slate); }
.faq-item.is-open .faq-answer { display: block; }

.page-hero { padding: 88px 0 70px; background: linear-gradient(180deg, #f7f9fb 0%, white 100%); border-bottom: 1px solid var(--fct-border); }
.page-hero h1 { margin: 12px 0 15px; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.05em; }
.page-hero p { max-width: 790px; color: var(--fct-slate); font-size: 1.1rem; }

.detail-card { padding: 30px; border: 1px solid var(--fct-border); border-radius: 20px; background: white; }
.detail-card h3 { margin: 0 0 10px; }
.detail-card p { margin: 0; color: var(--fct-slate); }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: start; }
.contact-card { padding: 30px; border-radius: 22px; background: #11151b; color: white; }
.contact-card h2 { margin-top: 0; }
.contact-item { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-item:last-child { border-bottom: 0; }
.contact-item span { display: block; color: #9faab5; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.contact-item strong, .contact-item a { display: block; margin-top: 5px; color: white; font-size: 1.06rem; }

.form-shell { padding: 32px; border: 1px solid var(--fct-border); border-radius: 24px; background: white; box-shadow: 0 14px 45px rgba(15,18,24,.07); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; color: #303741; font-weight: 800; font-size: .9rem; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d9dee5; border-radius: 10px; background: #fff; color: var(--fct-ink); outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--fct-red); box-shadow: 0 0 0 4px rgba(196,18,47,.08); }
.form-note { margin: 16px 0 0; color: var(--fct-slate); font-size: .84rem; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.notice { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 750; }
.notice--success { background: #eaf8ef; color: #176735; }
.notice--error { background: #fff0f1; color: #8f0e23; }

.prose { max-width: 840px; }
.prose h2 { margin-top: 42px; }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: #4f5863; }

.site-footer { background: #0c0f13; color: white; padding: 62px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 50px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 76px; height: 90px; object-fit: contain; padding: 3px; border-radius: 12px; background: white; }
.footer-brand strong { display: block; line-height: 1.2; }
.footer-about { max-width: 480px; color: #aeb7c1; }
.footer-title { margin: 0 0 14px; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #8e99a5; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: #e5e9ed; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; gap: 20px; color: #8e99a5; font-size: .84rem; }

.mobile-emergency { display: none; }

@media (max-width: 980px) {
  .topbar__meta { display: none; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; left: 18px; right: 18px; top: 136px; display: none; padding: 12px; border-radius: 18px; background: white; box-shadow: var(--fct-shadow); border: 1px solid var(--fct-border); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; }
  .primary-nav a { width: 100%; }
  .header-call { margin: 8px 0 0; width: 100%; }
  .hero__inner, .split, .contact-layout { grid-template-columns: 1fr; }
  .hero__inner { min-height: auto; gap: 38px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--fct-border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--fct-max)); }
  .section { padding: 66px 0; }
  .site-header__inner { min-height: 76px; }
  .brand__mark { width: 50px; height: 50px; }
  .brand__name { font-size: .9rem; }
  .brand__sub { display: none; }
  .primary-nav { top: 124px; }
  .hero__inner { padding: 52px 0 64px; }
  .hero-card { min-height: 450px; padding: 26px; }
  .hero-card__stats { left: 26px; right: 26px; grid-template-columns: 1fr; }
  .hero-card__stats .stat { padding: 10px 12px; }
  .hero-card__stats .stat span { display: inline; margin-left: 7px; }
  .hero-card__stats .stat strong { display: inline; font-size: 1rem; }
  .grid--3, .grid--2, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .callout { align-items: flex-start; flex-direction: column; padding: 30px; }
  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--fct-border); }
  .trust-item:last-child { border-bottom: 0; }
  .footer-bottom { flex-direction: column; }
  .mobile-emergency { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 70; padding: 8px; border-radius: 15px; background: rgba(255,255,255,.96); box-shadow: 0 12px 40px rgba(15,18,24,.20); border: 1px solid var(--fct-border); backdrop-filter: blur(10px); }
  .mobile-emergency .btn { min-height: 46px; padding: 0 12px; }
  body { padding-bottom: 78px; }
}


/* Elementor compatibility v1.3 */
.elementor-page #main-content { overflow: hidden; }
.elementor-page .elementor { width: 100%; }
.elementor-page .elementor-widget-shortcode .form-shell { margin: 0; }
