/* ================================================================
   DIGIFY HOME + SUBMIT — Styles v1.0
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:wght@400;500&display=swap');

.digify-home{font-family:'DM Sans',sans-serif;color:#1E293B;overflow-x:hidden;}
.digify-home *{box-sizing:border-box;}
.dh-container{max-width:1160px;margin:0 auto;padding:0 24px;}
.dh-accent{color:#00C9A7;}

/* ── HERO ── */
.dh-hero{background:linear-gradient(135deg,#0B1628 0%,#162035 60%,#0d2137 100%);padding:76px 0 68px;position:relative;overflow:hidden;text-align:center;}
.dh-hero__glow{position:absolute;border-radius:50%;pointer-events:none;}
.dh-hero__glow--1{top:-100px;right:-80px;width:400px;height:400px;background:radial-gradient(circle,rgba(0,201,167,.12),transparent 70%);}
.dh-hero__glow--2{bottom:-80px;left:-60px;width:300px;height:300px;background:radial-gradient(circle,rgba(59,130,246,.1),transparent 70%);}
.dh-hero__label{display:inline-flex;align-items:center;gap:8px;background:rgba(0,201,167,.12);color:#00C9A7;border:1px solid rgba(0,201,167,.25);border-radius:100px;font-family:'Plus Jakarta Sans',sans-serif;font-size:12px;font-weight:600;padding:6px 16px;margin-bottom:28px;letter-spacing:.3px;}
.dh-hero__title{font-family:'Plus Jakarta Sans',sans-serif;font-size:clamp(30px,5vw,52px);font-weight:800;color:#fff;line-height:1.15;margin:0 0 18px;letter-spacing:-.5px;}
.dh-hero__sub{font-size:17px;color:rgba(255,255,255,.6);max-width:540px;margin:0 auto 44px;line-height:1.7;}
.dh-hero__search{display:flex;align-items:center;max-width:600px;margin:0 auto 32px;background:#fff;border-radius:14px;padding:6px 6px 6px 20px;box-shadow:0 12px 40px rgba(0,0,0,.3);}
.dh-search-icon{color:#94A3B8;display:flex;align-items:center;flex-shrink:0;margin-right:8px;}
.dh-search-input{flex:1;border:none;outline:none;font-family:'DM Sans',sans-serif;font-size:15px;color:#1E293B;background:transparent;min-width:0;}
.dh-search-input::placeholder{color:#94A3B8;}
.dh-search-btn{display:inline-flex;align-items:center;gap:7px;background:#00C9A7;color:#0B1628;border:none;border-radius:10px;padding:12px 22px;font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap;transition:background .15s,transform .15s;}
.dh-search-btn:hover{background:#00E5BF;transform:translateY(-1px);}
.dh-hero__cats{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:44px;}
.dh-hero__cat{background:rgba(255,255,255,.07);color:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.12);border-radius:100px;font-size:13px;padding:6px 16px;text-decoration:none;transition:all .15s;}
.dh-hero__cat:hover{background:rgba(0,201,167,.15);color:#00C9A7;border-color:rgba(0,201,167,.3);}
.dh-hero__cat--more{font-weight:600;color:#00C9A7;border-color:rgba(0,201,167,.25);background:rgba(0,201,167,.08);}
.dh-hero__stats{display:flex;justify-content:center;align-items:center;gap:36px;padding-top:36px;border-top:1px solid rgba(255,255,255,.08);flex-wrap:wrap;}
.dh-hero__stat-n{display:block;font-family:'Plus Jakarta Sans',sans-serif;font-size:28px;font-weight:800;color:#fff;line-height:1.2;}
.dh-hero__stat-l{display:block;font-size:12px;color:rgba(255,255,255,.4);margin-top:4px;}
.dh-hero__stat-sep{width:1px;height:36px;background:rgba(255,255,255,.08);}

/* ── SECTIONS ── */
.dh-section{padding:60px 0;}
.dh-section__head{margin-bottom:32px;}
.dh-section__head--row{display:flex;justify-content:space-between;align-items:flex-end;}
.dh-section__title{font-family:'Plus Jakarta Sans',sans-serif;font-size:27px;font-weight:800;color:#0B1628;margin:0 0 6px;}
.dh-section__sub{font-size:15px;color:#64748B;margin:0;}
.dh-link-more{font-family:'Plus Jakarta Sans',sans-serif;font-size:14px;font-weight:600;color:#00C9A7;text-decoration:none;border-bottom:1.5px solid transparent;transition:border-color .15s;}
.dh-link-more:hover{border-bottom-color:#00C9A7;}

/* ── CATEGORIES ── */
.dh-cats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
.dh-cat-card{background:#fff;border:1.5px solid #E2E8F0;border-radius:14px;padding:22px 16px;text-align:center;text-decoration:none;color:inherit;transition:all .2s;display:block;}
.dh-cat-card:hover{border-color:rgba(0,201,167,.4);transform:translateY(-3px);box-shadow:0 10px 28px rgba(11,22,40,.08);}
.dh-cat-card__icon{width:48px;height:48px;border-radius:12px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;font-size:22px;}
.dh-cat-card__name{font-family:'Plus Jakarta Sans',sans-serif;font-size:13px;font-weight:700;color:#0B1628;margin-bottom:4px;line-height:1.4;}
.dh-cat-card__count{font-size:12px;color:#94A3B8;}

/* ── HOW IT WORKS ── */
.dh-section--how{background:linear-gradient(135deg,#F8FAFC,#F1F5F9);padding:60px 0;}
body.digify-tpl-home .dh-section--how{border-radius:0;}

.dh-how-grid{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;max-width:860px;margin:0 auto;}
.dh-how-connector{width:60px;height:2px;background:linear-gradient(to right,#00C9A7,rgba(0,201,167,.3));margin:0 8px;margin-top:-40px;}
.dh-how-step{text-align:center;padding:32px 20px;position:relative;}
.dh-how-step__num{position:absolute;top:18px;right:18px;width:24px;height:24px;background:#0B1628;color:#00C9A7;border-radius:50%;font-family:'Plus Jakarta Sans',sans-serif;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;}
.dh-how-step__icon{width:64px;height:64px;background:#fff;border:1.5px solid #E2E8F0;border-radius:16px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;color:#00C9A7;box-shadow:0 4px 16px rgba(11,22,40,.06);}
.dh-how-step__title{font-family:'Plus Jakarta Sans',sans-serif;font-size:16px;font-weight:700;color:#0B1628;margin:0 0 8px;}
.dh-how-step__desc{font-size:14px;color:#64748B;line-height:1.6;}

/* ── PRICE BANDS ── */
.dh-pricebands{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.dh-priceband{display:flex;align-items:center;gap:14px;padding:20px 22px;border-radius:14px;border:1.5px solid;}
.dh-priceband__icon{font-size:22px;flex-shrink:0;}
.dh-priceband__name{font-family:'Plus Jakarta Sans',sans-serif;font-size:14px;font-weight:700;margin-bottom:3px;}
.dh-priceband__desc{font-size:12px;color:#64748B;line-height:1.4;}
.dh-priceband__link{margin-left:auto;font-family:'Plus Jakarta Sans',sans-serif;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap;flex-shrink:0;opacity:.8;transition:opacity .15s;}
.dh-priceband__link:hover{opacity:1;}

/* ── CTA BAND ── */
.dh-cta-band{background:linear-gradient(135deg,#0B1628,#162035);border-radius:20px;padding:52px;display:flex;justify-content:space-between;align-items:center;gap:32px;position:relative;overflow:hidden;}
.dh-cta-band__glow{position:absolute;top:-60px;right:-60px;width:260px;height:260px;background:radial-gradient(circle,rgba(0,201,167,.15),transparent 70%);pointer-events:none;}
.dh-cta-band__content{flex:1;position:relative;}
.dh-cta-band__title{font-family:'Plus Jakarta Sans',sans-serif;font-size:24px;font-weight:800;color:#fff;margin:0 0 10px;}
.dh-cta-band__sub{font-size:15px;color:rgba(255,255,255,.55);margin:0 0 18px;max-width:480px;line-height:1.6;}
.dh-cta-band__features{display:flex;gap:20px;flex-wrap:wrap;}
.dh-cta-band__features span{font-size:13px;color:rgba(255,255,255,.6);}
.dh-cta-band__btn{display:inline-flex;align-items:center;gap:10px;background:#00C9A7;color:#0B1628;font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;font-size:15px;padding:16px 32px;border-radius:12px;text-decoration:none;white-space:nowrap;flex-shrink:0;transition:background .15s,transform .15s;position:relative;}
.dh-cta-band__btn:hover{background:#00E5BF;transform:translateY(-2px);color:#0B1628;}

/* ================================================================
   SUBMIT PAGE
   ================================================================ */
.dh-submit-page{padding:48px 0 80px;}
.dh-back-link{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#64748B;text-decoration:none;margin-bottom:32px;transition:color .15s;}
.dh-back-link:hover{color:#0B1628;}
.dh-submit-hero{text-align:center;margin-bottom:40px;}
.dh-submit-hero__icon{width:72px;height:72px;background:linear-gradient(135deg,#0B1628,#162035);border-radius:18px;margin:0 auto 20px;display:flex;align-items:center;justify-content:center;color:#00C9A7;}
.dh-submit-hero__title{font-family:'Plus Jakarta Sans',sans-serif;font-size:36px;font-weight:800;color:#0B1628;margin:0 0 12px;}
.dh-submit-hero__sub{font-size:16px;color:#64748B;max-width:480px;margin:0 auto;line-height:1.7;}
.dh-submit-features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:760px;margin:0 auto 48px;}
.dh-submit-feature{display:flex;align-items:flex-start;gap:12px;background:#F8FAFC;border:1.5px solid #E2E8F0;border-radius:12px;padding:18px;}
.dh-submit-feature__icon{font-size:22px;flex-shrink:0;}
.dh-submit-feature strong{display:block;font-family:'Plus Jakarta Sans',sans-serif;font-size:13px;font-weight:700;color:#0B1628;margin-bottom:3px;}
.dh-submit-feature p{font-size:12px;color:#64748B;margin:0;line-height:1.5;}
.dh-submit-layout{display:grid;grid-template-columns:1fr 320px;gap:32px;align-items:flex-start;}

/* ── FORM ── */
.dh-submit-form-wrap{background:#fff;border:1.5px solid #E2E8F0;border-radius:18px;padding:36px;box-shadow:0 4px 24px rgba(11,22,40,.06);}
.dh-form-section{}
.dh-form-section__title{font-family:'Plus Jakarta Sans',sans-serif;font-size:16px;font-weight:700;color:#0B1628;margin:0 0 24px;padding-bottom:12px;border-bottom:1.5px solid #F1F5F9;}
.dh-form-divider{height:1px;background:#F1F5F9;margin:28px 0;}
.dh-form-row{display:grid;gap:16px;margin-bottom:16px;}
.dh-form-row--2{grid-template-columns:1fr 1fr;}
.dh-form-field{display:flex;flex-direction:column;margin-bottom:16px;}
.dh-form-row .dh-form-field{margin-bottom:0;}
.dh-label{font-family:'Plus Jakarta Sans',sans-serif;font-size:13px;font-weight:600;color:#374151;margin-bottom:7px;}
.dh-required{color:#EF4444;}
.dh-hint{font-size:12px;color:#94A3B8;margin-top:5px;line-height:1.4;}
.dh-input,.dh-textarea,.dh-select{width:100%;padding:11px 14px;border:1.5px solid #E2E8F0;border-radius:10px;font-family:'DM Sans',sans-serif;font-size:14px;color:#1E293B;background:#F8FAFC;transition:border-color .15s,background .15s,box-shadow .15s;outline:none;}
.dh-input:focus,.dh-textarea:focus,.dh-select:focus{border-color:#00C9A7;background:#fff;box-shadow:0 0 0 3px rgba(0,201,167,.12);}
.dh-input.dh-input--error,.dh-textarea.dh-input--error,.dh-select.dh-input--error{border-color:#EF4444;box-shadow:0 0 0 3px rgba(239,68,68,.1);}
.dh-input::placeholder,.dh-textarea::placeholder{color:#CBD5E1;}
.dh-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px;}
.dh-textarea{resize:vertical;min-height:110px;}
.dh-form-submit-area{padding-top:8px;}
.dh-checkbox-label{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:#64748B;line-height:1.5;cursor:pointer;margin-bottom:20px;}
.dh-checkbox-label.dh-checkbox--error{color:#EF4444;}
.dh-checkbox-label input[type="checkbox"]{margin-top:2px;accent-color:#00C9A7;flex-shrink:0;}
.dh-submit-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:16px;background:#0B1628;color:#fff;border:none;border-radius:12px;font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;font-size:16px;cursor:pointer;transition:background .15s,transform .15s;}
.dh-submit-btn:hover:not(:disabled){background:#162035;transform:translateY(-1px);}
.dh-submit-btn:disabled{opacity:.6;cursor:not-allowed;}
@keyframes dh-spin{to{transform:rotate(360deg)}}
.dh-spin{animation:dh-spin .7s linear infinite;}
.dh-form-privacy{text-align:center;font-size:12px;color:#94A3B8;margin-top:12px;}
.dh-submit-msg{margin-top:20px;padding:16px 20px;border-radius:10px;font-size:14px;line-height:1.5;}
.dh-submit-msg--success{background:#F0FDF4;border:1.5px solid #BBF7D0;color:#15803D;}
.dh-submit-msg--error{background:#FFF1F2;border:1.5px solid #FECDD3;color:#BE123C;}

/* ── ASIDE ── */
.dh-submit-aside{}
.dh-submit-aside__box{background:#fff;border:1.5px solid #E2E8F0;border-radius:16px;padding:24px;margin-bottom:16px;box-shadow:0 4px 16px rgba(11,22,40,.05);}
.dh-submit-aside__box h3{font-family:'Plus Jakarta Sans',sans-serif;font-size:15px;font-weight:700;color:#0B1628;margin:0 0 16px;}
.dh-submit-aside__box--premium{background:linear-gradient(to bottom right,rgba(0,201,167,.04),#fff);border-color:rgba(0,201,167,.3);}
.dh-submit-aside__box--premium p{font-size:13px;color:#64748B;margin:0 0 12px;line-height:1.5;}
.dh-submit-aside__box--premium ul{list-style:none;padding:0;margin:0 0 16px;}
.dh-submit-aside__box--premium li{font-size:13px;color:#374151;padding:5px 0;}
.dh-submit-steps{padding-left:20px;margin:0;}
.dh-submit-steps li{font-size:13px;color:#374151;padding:6px 0;line-height:1.5;}
.dh-submit-steps li strong{display:block;font-family:'Plus Jakarta Sans',sans-serif;font-size:13px;color:#0B1628;}
.dh-aside-cta{display:block;background:#0B1628;color:#00C9A7;text-align:center;padding:12px;border-radius:10px;font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;font-size:13px;text-decoration:none;transition:background .15s;}
.dh-aside-cta:hover{background:#162035;color:#00C9A7;}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media(max-width:1024px){
  .dh-cats-grid{grid-template-columns:repeat(3,1fr);}
  .dh-pricebands{grid-template-columns:1fr;}
  .dh-submit-layout{grid-template-columns:1fr;}
  .dh-submit-aside{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
  .dh-submit-aside .dh-submit-aside__box{margin-bottom:0;}
}
@media(max-width:768px){
  .dh-hero{padding:52px 0;}
  .dh-hero__search{flex-direction:column;padding:12px;}
  .dh-search-input{width:100%;}
  .dh-search-btn{width:100%;justify-content:center;}
  .dh-hero__stat-sep{display:none;}
  .dh-hero__stats{gap:20px;}
  .dh-cats-grid{grid-template-columns:repeat(2,1fr);}
  .dh-how-grid{grid-template-columns:1fr;}
  .dh-how-connector{display:none;}
  .dh-section__head--row{flex-direction:column;align-items:flex-start;gap:12px;}
  .dh-cta-band{flex-direction:column;padding:32px 24px;text-align:center;}
  .dh-cta-band__btn{width:100%;justify-content:center;}
  .dh-section--how{margin:0 12px;}
  .dh-submit-features{grid-template-columns:1fr;}
  .dh-form-row--2{grid-template-columns:1fr;}
  .dh-submit-form-wrap{padding:24px 20px;}
  .dh-submit-aside{grid-template-columns:1fr;}
}

/* ================================================================
   ASTRA THEME COMPATIBILITY
   Targeting: body.digify-tpl-home  /  body.digify-tpl-submit
   ================================================================ */

/* ── Reset Astra's content wrapper constraints ── */
body.digify-tpl-home .site-content,
body.digify-tpl-home #content,
body.digify-tpl-submit .site-content,
body.digify-tpl-submit #content {
  padding: 0 !important;
}

body.digify-tpl-home .content-area,
body.digify-tpl-home #primary,
body.digify-tpl-submit .content-area,
body.digify-tpl-submit #primary {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  float: none !important;
}

body.digify-tpl-home .site-main,
body.digify-tpl-home #main,
body.digify-tpl-submit .site-main,
body.digify-tpl-submit #main {
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Remove Astra's default page title (usamos el nuestro) ── */
body.digify-tpl-home .ast-archive-description,
body.digify-tpl-home .entry-header,
body.digify-tpl-home .page-header,
body.digify-tpl-home .entry-title,
body.digify-tpl-submit .entry-header,
body.digify-tpl-submit .entry-title {
  display: none !important;
}

/* ── Remove Astra container padding from .ast-container ── */
body.digify-tpl-home .ast-container,
body.digify-tpl-submit .ast-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
}

/* ── Hero full-width breakout from any remaining wrapper ── */
body.digify-tpl-home .dh-hero,
body.digify-tpl-home .dh-section--how {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ── Remove Astra's entry content padding/margins ── */
body.digify-tpl-home .entry-content,
body.digify-tpl-submit .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* ── Fix Astra's breadcrumb if it appears ── */
body.digify-tpl-home .ast-breadcrumbs-wrapper {
  display: none;
}

/* ── Ensure Astra's header and footer still render normally ── */
body.digify-tpl-home #masthead,
body.digify-tpl-home #colophon {
  position: relative;
  z-index: 10;
}

/* ── Astra Pro: disable any padding-top from Astra's page canvas ── */
body.digify-tpl-home.ast-page-builder-template .site-content,
body.digify-tpl-home.ast-separate-container .site-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* ── The dh-container already has max-width + auto margins, ── */
/* ── so sections that DON'T need full-width still look contained ── */
body.digify-tpl-home .dh-section,
body.digify-tpl-submit .dh-submit-page {
  overflow-x: hidden;
}
