/*
Theme Name: DEFFCOS Divi
Description: Child theme DEFFCOS basado en Divi.
Author: DEFFCOS Seguridad Privada
Template: Divi
Version: 1.1.0
*/

:root {
  --dfc-navy: #0b2036;
  --dfc-navy-deep: #071522;
  --dfc-gold: #d7a53b;
  --dfc-cream: #f7f3ea;
  --dfc-ink: #13283c;
  --dfc-muted: #637385;
}

body.home #main-header,
body.home #top-header,
body.home .et-l--header,
body.home #main-footer,
body.home #footer-bottom,
body.home .et-l--footer {
  display: none !important;
}

body.home #page-container { padding-top: 0 !important; }
body.home #et-main-area { overflow: hidden; }
body.home .entry-title { display: none; }
body.home .et_pb_section { padding: 0 !important; }
body.home .et_pb_row.dfc-row { width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
body.home .dfc-module,
body.home .dfc-module .et_pb_code_inner { width: 100%; max-width: none; padding: 0; margin: 0; }

.dfc-site { color: var(--dfc-ink); font-family: inherit; overflow: hidden; }
.dfc-site * { box-sizing: border-box; }
.dfc-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.dfc-nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px max(24px, calc((100vw - 1180px)/2)); background: #fffdf9; border-bottom: 1px solid rgba(11,32,54,.1); }
.dfc-brand { display: flex; align-items: center; gap: 12px; color: var(--dfc-navy); text-decoration: none; flex-shrink: 0; }
.dfc-brand img { width: 52px; height: 52px; object-fit: contain; }
.dfc-brand strong { display: block; font-size: 20px; line-height: 1; letter-spacing: 1.4px; font-weight: 900; }
.dfc-brand small { display: block; margin-top: 6px; font-size: 8px; letter-spacing: 3px; font-weight: 700; }
.dfc-menu { display: flex; align-items: center; gap: 25px; }
.dfc-menu a { color: var(--dfc-ink); text-decoration: none; font-size: 13px; font-weight: 650; }
.dfc-menu a:hover { color: #9a6d27; }
.dfc-nav-cta,.dfc-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 13px 20px; border-radius: 5px; background: var(--dfc-navy); color: #fff !important; text-decoration: none; font-size: 13px; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.dfc-nav-cta:hover,.dfc-button:hover { transform: translateY(-2px); background: #173b5a; }
.dfc-button-gold { background: var(--dfc-gold); color: var(--dfc-navy) !important; }
.dfc-button-gold:hover { background: #e8bd6b; }
.dfc-hero { position: relative; display: flex; align-items: center; min-height: 650px; background-color: var(--dfc-navy-deep); background-image: linear-gradient(90deg,rgba(7,21,34,.96) 0%,rgba(7,21,34,.85) 35%,rgba(7,21,34,.25) 100%),url("assets/img/hero-seguridad.jpg"); background-size: cover; background-position: center; color: white; }
.dfc-hero-content { width: min(1180px, calc(100% - 48px)); margin-inline: auto; padding: 82px 0; }
.dfc-eyebrow { margin: 0 0 18px; color: #efc478; font-size: 11px; letter-spacing: 2.6px; font-weight: 800; text-transform: uppercase; }
.dfc-hero h1 { max-width: 700px; margin: 0; color: #fff; font-size: clamp(44px,6.2vw,78px); line-height: .99; letter-spacing: -2.8px; font-weight: 900; }
.dfc-hero h1 em { color: #e5b46a; font-family: Georgia,serif; font-weight: 500; }
.dfc-hero-copy { max-width: 590px; margin: 24px 0 30px; color: #e4e9ed; font-size: 16px; line-height: 1.9; }
.dfc-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.dfc-text-link { color: white; text-decoration: none; font-size: 13px; font-weight: 700; padding: 12px 8px; }
.dfc-trust { background: var(--dfc-cream); border-bottom: 1px solid rgba(11,32,54,.1); }
.dfc-trust-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 24px 0; }
.dfc-trust-item { color: var(--dfc-muted); font-size: 12px; line-height: 1.5; }
.dfc-trust-item strong { display: block; color: var(--dfc-navy); font-size: 13px; margin-bottom: 4px; }
.dfc-section { padding: 92px 0; }
.dfc-section-cream { background: var(--dfc-cream); }
.dfc-section-dark { background: var(--dfc-navy); color: white; }
.dfc-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.dfc-heading .dfc-eyebrow { color: #a16f28; }
.dfc-section-dark .dfc-heading .dfc-eyebrow { color: #efc478; }
.dfc-heading h2 { margin: 0; color: var(--dfc-navy); font-size: clamp(32px,4vw,48px); line-height: 1.1; letter-spacing: -1.6px; }
.dfc-section-dark .dfc-heading h2 { color: #fff; }
.dfc-heading p { max-width: 650px; margin: 16px auto 0; color: var(--dfc-muted); font-size: 15px; line-height: 1.8; }
.dfc-section-dark .dfc-heading p { color: #cbd4dc; }
.dfc-service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.dfc-service-card { min-height: 225px; padding: 28px; border: 1px solid #e7e1d6; border-radius: 8px; background: #fffdf9; box-shadow: 0 10px 30px rgba(11,32,54,.05); }
.dfc-service-number { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; margin-bottom: 19px; border-radius: 50%; background: #f4e8cf; color: #94671f; font-size: 12px; font-weight: 800; }
.dfc-service-card h3 { margin: 0 0 10px; color: var(--dfc-navy); font-size: 19px; }
.dfc-service-card p { margin: 0; color: var(--dfc-muted); font-size: 13px; line-height: 1.8; }
.dfc-split { display: grid; grid-template-columns: 1.03fr .97fr; gap: 64px; align-items: center; }
.dfc-split img { display: block; width: 100%; height: 430px; object-fit: cover; border-radius: 8px; box-shadow: 0 20px 50px rgba(11,32,54,.14); }
.dfc-split h2 { margin: 0 0 18px; color: var(--dfc-navy); font-size: clamp(32px,4vw,46px); line-height: 1.1; letter-spacing: -1.5px; }
.dfc-split p { color: var(--dfc-muted); font-size: 14px; line-height: 1.9; }
.dfc-checks { display: grid; gap: 12px; margin: 24px 0 28px; padding: 0; list-style: none; }
.dfc-checks li { color: var(--dfc-ink); font-size: 13px; line-height: 1.6; }
.dfc-checks li:before { content: "✓"; display: inline-grid; place-items: center; width: 21px; height: 21px; margin-right: 10px; border-radius: 50%; color: #fff; background: #18724d; font-size: 12px; font-weight: 800; }
.dfc-coverage-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.dfc-coverage-card { overflow: hidden; border-radius: 8px; background: #102a43; border: 1px solid rgba(255,255,255,.12); }
.dfc-coverage-card img { display: block; width: 100%; height: 220px; object-fit: cover; }
.dfc-coverage-copy { padding: 21px 23px 24px; }
.dfc-coverage-copy h3 { margin: 0 0 9px; color: #fff; font-size: 18px; }
.dfc-coverage-copy p { margin: 0; color: #cbd4dc; font-size: 12px; line-height: 1.75; }
.dfc-commitment { background: linear-gradient(120deg,#f5ead4,#fcfaf5); border: 1px solid #e3c78e; border-radius: 9px; padding: 36px; text-align: center; }
.dfc-commitment h2 { margin: 0 0 12px; color: var(--dfc-navy); font-size: clamp(28px,4vw,42px); line-height: 1.12; }
.dfc-commitment p { max-width: 760px; margin: 0 auto 22px; color: var(--dfc-muted); font-size: 14px; line-height: 1.8; }
.dfc-contact { padding: 78px 0; background: var(--dfc-navy-deep); color: #fff; }
.dfc-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.dfc-contact h2 { margin: 0 0 10px; color: #fff; font-size: clamp(30px,4vw,46px); }
.dfc-contact p { margin: 0; color: #cbd4dc; font-size: 14px; line-height: 1.7; }
.dfc-phone { display: block; margin-top: 12px; color: #efc478; font-size: 22px; font-weight: 800; text-decoration: none; }
.dfc-footer { padding: 24px 0; background: #06111c; color: #aab6c1; font-size: 11px; text-align: center; }
.dfc-footer strong { color: #fff; }

@media (max-width: 900px) {
  .dfc-nav { flex-wrap: wrap; min-height: 72px; padding-inline: 24px; }
  .dfc-menu { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 14px 22px; }
  .dfc-hero { min-height: 580px; background-position: 62% center; }
  .dfc-trust-inner { grid-template-columns: repeat(2,1fr); }
  .dfc-service-grid,.dfc-coverage-grid { grid-template-columns: repeat(2,1fr); }
  .dfc-split { grid-template-columns: 1fr; gap: 32px; }
  .dfc-split img { height: 360px; }
}
@media (max-width: 600px) {
  .dfc-wrap,.dfc-hero-content { width: calc(100% - 34px); }
  .dfc-nav { gap: 12px; padding: 12px 17px; }
  .dfc-brand img { width: 44px; height: 44px; }
  .dfc-brand strong { font-size: 17px; }
  .dfc-brand small { font-size: 7px; letter-spacing: 2.2px; }
  .dfc-nav-cta { min-height: 40px; padding: 10px 12px; font-size: 11px; }
  .dfc-menu { justify-content: flex-start; gap: 10px 17px; }
  .dfc-menu a { font-size: 11px; }
  .dfc-hero { min-height: 620px; background-position: 64% center; }
  .dfc-hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(7,21,34,.96),rgba(7,21,34,.66)); }
  .dfc-hero-content { position: relative; z-index: 1; padding: 64px 0; }
  .dfc-hero h1 { font-size: 47px; letter-spacing: -1.8px; }
  .dfc-hero-copy { font-size: 14px; }
  .dfc-section { padding: 64px 0; }
  .dfc-trust-inner,.dfc-service-grid,.dfc-coverage-grid { grid-template-columns: 1fr; }
  .dfc-service-card { min-height: 0; }
  .dfc-split img { height: 280px; }
  .dfc-commitment { padding: 25px 20px; }
  .dfc-contact-inner { align-items: flex-start; flex-direction: column; }
}

/* Additional DEFFCOS sections migrated into Divi. */
.dfc-extra h2,.dfc-extra h3,.dfc-extra p { text-wrap: pretty; }
.dfc-type-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.dfc-type-card { padding:26px; border:1px solid #e7e1d6; border-radius:8px; background:#fffdf9; box-shadow:0 10px 30px rgba(11,32,54,.05); }
.dfc-type-card h3 { margin:0 0 10px; color:var(--dfc-navy); font-size:19px; }
.dfc-type-card p { margin:0 0 15px; color:var(--dfc-muted); font-size:13px; line-height:1.8; }
.dfc-type-card ul { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.dfc-type-card li { color:var(--dfc-ink); font-size:12px; line-height:1.6; }
.dfc-type-card li:before { content:"✓"; color:#a16f28; font-weight:900; margin-right:8px; }
.dfc-standard-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.dfc-standard-card { padding:23px; border:1px solid rgba(255,255,255,.14); border-radius:8px; background:rgba(255,255,255,.06); }
.dfc-standard-card span { display:grid; place-items:center; width:38px; height:38px; margin-bottom:15px; border-radius:50%; background:#d7a53b; color:#0b2036; font-weight:900; }
.dfc-standard-card h3 { margin:0 0 8px; color:#fff; font-size:16px; }
.dfc-standard-card p { margin:0; color:#cbd4dc; font-size:12px; line-height:1.75; }
.dfc-step-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.dfc-step-card { padding:26px; border-left:3px solid var(--dfc-gold); border-radius:6px; background:#fffdf9; }
.dfc-step-card b { display:block; margin-bottom:16px; color:#a16f28; font-size:12px; letter-spacing:2px; }
.dfc-step-card h3 { margin:0 0 9px; color:var(--dfc-navy); font-size:19px; }
.dfc-step-card p { margin:0; color:var(--dfc-muted); font-size:13px; line-height:1.8; }
.dfc-gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.dfc-gallery-card { overflow:hidden; border:1px solid rgba(255,255,255,.12); border-radius:8px; background:#102a43; }
.dfc-gallery-card img { display:block; width:100%; height:190px; object-fit:cover; }
.dfc-gallery-card p { margin:0; padding:13px 15px; color:#edf1f5; font-size:12px; line-height:1.55; }
.dfc-faq-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:48px; align-items:start; }
.dfc-faq-grid .dfc-heading { margin:0; text-align:left; }
.dfc-faq-list { display:grid; gap:10px; }
.dfc-faq-item { padding:18px 20px; border:1px solid #e7e1d6; border-radius:7px; background:#fffdf9; }
.dfc-faq-item summary { display:flex; justify-content:space-between; gap:18px; color:var(--dfc-navy); font-size:14px; font-weight:750; cursor:pointer; list-style:none; }
.dfc-faq-item summary::-webkit-details-marker { display:none; }
.dfc-faq-item summary:after { content:"+"; color:#a16f28; font-size:20px; line-height:1; }
.dfc-faq-item[open] summary:after { content:"−"; }
.dfc-faq-item p { margin:14px 0 0; color:var(--dfc-muted); font-size:13px; line-height:1.8; }
.dfc-quote-grid { display:grid; grid-template-columns:.72fr 1.28fr; gap:42px; align-items:start; }
.dfc-quote-intro h2 { margin:0 0 15px; color:#fff; font-size:clamp(30px,4vw,45px); line-height:1.1; }
.dfc-quote-intro p { color:#cbd4dc; font-size:14px; line-height:1.8; }
.dfc-quote-intro a { color:#efc478; font-weight:800; text-decoration:none; }
.dfc-quote-card { padding:30px; border:1px solid rgba(255,255,255,.18); border-radius:9px; background:#fffdf9; color:var(--dfc-ink); }
.dfc-quote-card h3 { margin:0 0 6px; color:var(--dfc-navy); font-size:25px; }
.dfc-quote-card>p { margin:0 0 22px; color:var(--dfc-muted); font-size:12px; }
.dfc-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.dfc-form-field { display:grid; gap:7px; }
.dfc-form-field-wide { grid-column:1/-1; }
.dfc-form-field label { color:var(--dfc-ink); font-size:12px; font-weight:700; }
.dfc-form-field input,.dfc-form-field select,.dfc-form-field textarea { width:100%; min-height:46px; padding:12px 13px; border:1px solid #c9cdd1; border-radius:4px; background:#fff; color:var(--dfc-ink); font:inherit; font-size:13px; }
.dfc-form-field textarea { min-height:105px; resize:vertical; }
.dfc-consent { display:flex; align-items:flex-start; gap:9px; margin:17px 0; color:var(--dfc-muted); font-size:11px; line-height:1.6; }
.dfc-consent input { margin-top:3px; accent-color:#a16f28; }
.dfc-form-submit { width:100%; border:0; cursor:pointer; }
.dfc-form-note { min-height:20px; margin:12px 0 0 !important; color:#357258 !important; font-size:12px !important; }
.dfc-privacy { margin-top:18px; border-top:1px solid #e7e1d6; padding-top:12px; }
.dfc-privacy summary { color:#7c5b25; font-size:12px; font-weight:700; cursor:pointer; }
.dfc-privacy p { color:var(--dfc-muted); font-size:11px; line-height:1.7; }
@media(max-width:900px){.dfc-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dfc-standard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dfc-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dfc-quote-grid{grid-template-columns:1fr}.dfc-faq-grid{grid-template-columns:1fr;gap:25px}}
@media(max-width:600px){.dfc-type-grid,.dfc-standard-grid,.dfc-step-grid{grid-template-columns:1fr}.dfc-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dfc-gallery-card img{height:130px}.dfc-form-grid{grid-template-columns:1fr}.dfc-form-field-wide{grid-column:auto}.dfc-quote-card{padding:21px}.dfc-quote-grid{gap:24px}}

