/*
Theme Name: OCIS Theme
Theme URI: https://ocis.mx
Author: OCIS
Description: Tema base limpio para servicios de pisos
Version: 1.0
*/

:root{
  --primary:#0f172a;
  --primary-2:#1e293b;
  --secondary:#475569;
  --accent:#facc15;
  --light:#f8fafc;
  --white:#ffffff;
  --border:#e2e8f0;
  --text:#334155;
  --shadow:0 12px 30px rgba(15,23,42,.10);
  --radius:18px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.6;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

.container{
  width:min(92%, 1200px);
  margin-inline:auto;
}

/* Header */
.site-header{
  background:rgba(15,23,42,.96);
  color:#fff;
  position:sticky;
  top:0;
  z-index:999;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.header-wrap{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.logo{
  font-size:1.5rem;
  font-weight:800;
  color:#fff;
  letter-spacing:.4px;
}

.main-nav ul{
  list-style:none;
  display:flex;
  gap:22px;
  margin:0;
  padding:0;
}

.main-nav a{
  color:#fff;
  font-weight:600;
  opacity:.95;
}

.main-nav a:hover{
  opacity:1;
}

/* Botones */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 22px;
  border-radius:10px;
  font-weight:700;
  transition:.25s ease;
  border:1px solid transparent;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-primary{
  background:var(--accent);
  color:#0f172a;
}

.btn-primary:hover{
  background:#eab308;
}

.btn-outline{
  border:2px solid rgba(255,255,255,.75);
  color:#fff;
  background:transparent;
}

.btn-outline:hover{
  background:#fff;
  color:#0f172a;
}

/* Hero */
.hero{
  background:linear-gradient(135deg, rgba(15,23,42,.96), rgba(30,41,59,.88));
  color:#fff;
  padding:88px 0 78px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:48px;
  align-items:center;
}

.hero-content{
  max-width:720px;
}

.hero-note{
  display:inline-block;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#ffffff;
  padding:12px 18px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  margin-bottom:18px;
}

.hero-kicker{
  display:inline-block;
  font-size:14px;
  font-weight:700;
  color:#facc15;
  margin-bottom:12px;
  letter-spacing:.5px;
  text-transform:uppercase;
}

.hero h1{
  font-size:3.2rem;
  line-height:1.08;
  margin:0 0 18px;
  font-weight:800;
  color:#ffffff;
}

.hero-subtext{
  font-size:18px;
  line-height:1.6;
  color:#dbe4f0;
  margin:0 0 22px;
}

.hero-benefits{
  list-style:none;
  padding:0;
  margin:0 0 28px;
}

.hero-benefits li{
  margin-bottom:10px;
  font-size:16px;
  color:#e2e8f0;
}

.hero-cta{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

/* Tarjeta hero */
.card{
  background:#fff;
  padding:26px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--border);
}

.quote-card{
  max-width:520px;
  width:100%;
  margin-left:auto;
  border-radius:22px;
  padding:30px;
}

.quote-badge{
  display:flex;
  align-items:center;
  gap:12px;
  background:#f0fdf4;
  border:1px solid #bbf7d0;
  color:#15803d;
  padding:12px 14px;
  border-radius:14px;
  margin-bottom:18px;
  font-weight:700;
  line-height:1.35;
}

.quote-badge-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:#16a34a;
  color:#ffffff;
  font-size:16px;
  font-weight:700;
  flex-shrink:0;
}

.quote-card h3{
  margin:0 0 12px;
  color:#0f172a;
  font-size:2rem;
  line-height:1.1;
}

.quote-text{
  margin:0 0 18px;
  color:#475569;
  font-size:16px;
  line-height:1.6;
}

/* Secciones */
.section{
  padding:76px 0;
}

.section-light{
  background:var(--light);
}

.section-dark{
  background:var(--primary);
  color:#fff;
}

.center{
  text-align:center;
}

.section-head{
  margin-bottom:34px;
}

.section-kicker{
  display:inline-block;
  margin-bottom:10px;
  font-weight:700;
  color:var(--accent);
  font-size:.95rem;
}

.section-title{
  font-size:clamp(1.9rem, 3vw, 3rem);
  line-height:1.12;
  color:var(--primary);
  margin:0 0 12px;
}

.section-subtitle{
  font-size:1.05rem;
  max-width:760px;
  margin:0 auto;
  color:var(--secondary);
}

/* Grids */
.grid{
  display:grid;
  gap:24px;
}

.grid-3{
  grid-template-columns:repeat(3, 1fr);
}

/* Tarjetas */
.service-card,
.info-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.service-card h3,
.info-card h3{
  margin-top:0;
  color:var(--primary);
}

.service-card p,
.info-card p{
  color:var(--secondary);
}

.service-card a{
  display:inline-block;
  margin-top:10px;
  color:#d4a017;
  font-weight:700;
}

.service-card{
  transition:.2s ease;
}

.service-card:hover{
  transform:translateY(-6px);
}

/* CTA banda */
.cta-band{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:24px;
  align-items:center;
  background:linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;
  padding:34px;
}

.cta-band h2{
  margin:0 0 10px;
  font-size:clamp(1.8rem, 3vw, 2.8rem);
  line-height:1.1;
}

.cta-band p{
  margin:0;
  color:rgba(255,255,255,.88);
}

.cta-buttons{
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:stretch;
}

/* Footer */
.site-footer{
  background:var(--primary);
  color:#fff;
  padding:42px 0 24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:26px;
}

.site-footer h3,
.site-footer h4{
  margin-top:0;
}

.site-footer a{
  color:#fff;
}

/* Placeholder formulario */
.form-placeholder{
  border:1px dashed #cbd5e1;
  background:#f8fafc;
  border-radius:14px;
  padding:18px;
  color:#475569;
  font-size:15px;
}

/* WhatsApp */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:999;
}

.whatsapp-float a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  font-size:26px;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}

.whatsapp-float img{
  width:28px;
  height:28px;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid,
  .grid-3,
  .cta-band,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .main-nav{
    display:none;
  }

  .quote-card{
    max-width:100%;
    margin-left:0;
    padding:24px;
  }

  .hero{
    padding:64px 0;
  }

  .hero h1{
    font-size:2.2rem;
  }

  .hero-subtext{
    font-size:16px;
  }

  .hero-cta{
    flex-direction:column;
  }

  .section{
    padding:60px 0;
  }
}

/* FORMULARIO OCIS */
.wpforms-container{
  width:100% !important;
  background:#fff;
  padding:18px;
  border-radius:12px;
}

.wpforms-container input,
.wpforms-container select,
.wpforms-container textarea{
  width:100% !important;
  padding:12px !important;
  border:1px solid #d1d5db !important;
  border-radius:8px !important;
  font-size:14px !important;
}

.wpforms-container textarea{
  min-height:120px;
}

.wpforms-submit{
  width:100% !important;
  background:#0f172a !important;
  color:#fff !important;
  border-radius:10px !important;
  padding:14px !important;
  font-weight:600;
}

/* ===== Mensaje de confirmación WPForms OCIS ===== */
.wpforms-confirmation-container-full,
div[aria-label="Formulario enviado correctamente"]{
  background:#f8fafc !important;
  border:1px solid #e2e8f0 !important;
  color:#0f172a !important;
  border-radius:14px !important;
  padding:22px !important;
  box-shadow:0 8px 24px rgba(15,23,42,.06) !important;
  line-height:1.7 !important;
  font-size:16px !important;
}

.wpforms-confirmation-container-full p,
div[aria-label="Formulario enviado correctamente"] p{
  margin:0 0 14px !important;
  color:#334155 !important;
}

.wpforms-confirmation-container-full strong,
div[aria-label="Formulario enviado correctamente"] strong{
  color:#0f172a !important;
}

.wpforms-confirmation-container-full a,
div[aria-label="Formulario enviado correctamente"] a{
  color:#d4a017 !important;
  font-weight:700 !important;
}

/* Variante premium con barra superior */
.wpforms-confirmation-container-full{
  position:relative;
  overflow:hidden;
}

.wpforms-confirmation-container-full::before{
  content:"Solicitud recibida";
  display:block;
  background:#0f172a;
  color:#ffffff;
  font-size:13px;
  font-weight:700;
  letter-spacing:.4px;
  text-transform:uppercase;
  padding:10px 14px;
  margin:-22px -22px 18px -22px;
}

.info-card ul{
  padding-left:18px;
  margin:14px 0 0;
}

.info-card ul li{
  margin-bottom:8px;
}

@media (max-width: 980px){
  .section .grid[style*="grid-template-columns:1.2fr .8fr"]{
    grid-template-columns:1fr !important;
  }
}

.service-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:12px;
}

.service-card{
  transition:0.3s ease;
}

.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.service-card img{
  border-radius:12px;
  transition:0.3s ease;
}

.service-card:hover img{
  transform:scale(1.03);
}

.grid-2{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
}

.service-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:14px;
  transition:0.3s ease;
}

.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.service-card:hover img{
  transform:scale(1.03);
}

.service-placeholder{
  height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, #e5e7eb, #f8fafc);
  border:1px dashed #cbd5e1;
  border-radius:12px;
  margin-bottom:14px;
  color:#475569;
  font-weight:700;
  text-align:center;
  padding:20px;
}

.services-packages .info-card{
  height:100%;
}

.services-note{
  text-align:center;
  margin-top:36px;
}

.services-note p{
  margin:0 0 10px;
}

@media (max-width: 980px){
  .grid-2{
    grid-template-columns:1fr;
  }
}

.projects-pair-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
}

.projects-pair-grid img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:14px;
}

@media (max-width: 980px){
  .projects-pair-grid{
    grid-template-columns:1fr;
  }
}