/*
Theme Name: Sonoran Walls Theme
Author: Sonoran Walls & Ceilings
Version: 1.1
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Oswald:wght@400;500;600;700&display=swap');

:root{
  --teal:#118c8b;
  --deep:#063e48;
  --orange:#f46a1f;
  --sun:#f7a61a;
  --sand:#efe7d2;
  --light:#f7f7f4;
  --white:#ffffff;
  --text:#18333a;
  --muted:#5b6e73;
  --border:rgba(6,62,72,.12);
  --shadow:0 12px 32px rgba(6,62,72,.14);
  --radius:24px;
}

*{box-sizing:border-box;}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:'Montserrat',Arial,sans-serif;
  background:var(--light);
  color:var(--text);
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
}

.has-sticky-header{
  padding-top:92px;
}

/* STICKY HEADER */

.sticky-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:9999;
  background:rgba(6,62,72,.96);
  box-shadow:0 6px 18px rgba(0,0,0,.15);
  transition:all .25s ease;
}

.sticky-header.scrolled{
  background:rgba(6,62,72,.98);
  box-shadow:0 8px 24px rgba(0,0,0,.22);
}

.sticky-header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  transition:all .25s ease;
}

.sticky-header.scrolled .sticky-header-inner{
  padding:9px 20px;
}

.sticky-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.sticky-brand img{
  width:60px;
  height:auto;
  transition:all .25s ease;
}

.sticky-header.scrolled .sticky-brand img{
  width:42px;
}

.sticky-brand-text{
  color:#fff;
  font-family:'Oswald',Arial,sans-serif;
  font-size:22px;
  line-height:1;
  letter-spacing:.03em;
  text-transform:uppercase;
  transition:all .25s ease;
}

.sticky-header.scrolled .sticky-brand-text{
  font-size:18px;
}

.sticky-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.sticky-btn{
  display:inline-block;
  font-weight:700;
  padding:12px 18px;
  border-radius:999px;
  white-space:nowrap;
  transition:all .2s ease;
  font-size:15px;
}

.sticky-call-btn{
  background:var(--orange);
  color:#fff;
}

.sticky-call-btn:hover{
  background:#dd5d17;
  color:#fff;
}

.sticky-quote-btn{
  background:transparent;
  color:#fff;
  border:2px solid rgba(255,255,255,.35);
}

.sticky-quote-btn:hover{
  background:rgba(255,255,255,.08);
  color:#fff;
}

/* TOP BAR */

.topbar{
  background:linear-gradient(135deg,var(--deep),#0a6970);
  color:#fff;
  padding:12px 20px;
  font-size:14px;
}

.topbar-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px 28px;
  flex-wrap:wrap;
  text-align:center;
}

.topbar a{
  color:#fff;
  font-weight:700;
}

/* GENERAL LAYOUT */

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

.section{
  padding:72px 0;
}

.eyebrow{
  display:inline-block;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  padding:10px 16px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  letter-spacing:.03em;
  margin-bottom:20px;
}

.title,
.section h2,
.card h3,
.logo-font{
  font-family:'Oswald',Arial,sans-serif;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.title{
  font-size:70px;
  line-height:1.02;
  margin:0 0 18px;
}

.lead{
  font-size:20px;
  line-height:1.8;
  max-width:760px;
}

/* BUTTONS */

.btn{
  display:inline-block;
  padding:15px 28px;
  border-radius:999px;
  font-weight:700;
  transition:.25s ease;
}

.btn-primary{
  background:linear-gradient(135deg,var(--orange),var(--sun));
  color:#fff;
  box-shadow:0 10px 24px rgba(244,106,31,.28);
}

.btn-primary:hover{
  transform:translateY(-1px);
  color:#fff;
}

.btn-secondary{
  background:transparent;
  color:#fff;
  border:2px solid rgba(255,255,255,.35);
}

.btn-secondary:hover{
  background:rgba(255,255,255,.08);
  color:#fff;
}

/* HERO */

.hero{
  background:
    linear-gradient(135deg, rgba(6,62,72,.92), rgba(17,140,139,.78)),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color:#fff;
  position:relative;
  overflow:hidden;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:30px;
  align-items:center;
  min-height:720px;
}

.hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:14px 24px;
  margin-top:28px;
  font-weight:600;
  color:rgba(255,255,255,.92);
}

.hero-card{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  padding:24px;
  border-radius:32px;
  backdrop-filter:blur(4px);
  box-shadow:0 16px 44px rgba(0,0,0,.22);
}

.hero-card img{
  width:100%;
  max-width:300px;
  margin:0 auto 18px;
}

.hero-card-inner{
  background:rgba(255,255,255,.95);
  color:var(--text);
  border-radius:22px;
  padding:24px;
}

.hero-card-inner h3{
  font-size:32px;
  margin:0 0 10px;
  color:var(--deep);
}

.hero-card-inner p{
  margin:0;
  line-height:1.8;
  color:var(--muted);
}

/* SECTIONS */

.section-heading{
  text-align:center;
  max-width:760px;
  margin:0 auto 34px;
}

.section-heading h2{
  font-size:54px;
  color:var(--deep);
  margin:0 0 16px;
  line-height:1.05;
}

.section-heading p{
  font-size:18px;
  line-height:1.7;
  color:var(--muted);
  margin:0;
}

.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.grid-2{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:30px;
  align-items:center;
}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
  height:100%;
}

.card h3{
  margin:0 0 12px;
  font-size:28px;
  color:var(--deep);
}

.card p{
  margin:0;
  line-height:1.75;
  color:var(--muted);
  font-size:16px;
}

.list{
  list-style:none;
  padding:0;
  margin:24px 0 0;
  display:grid;
  gap:14px;
}

.list li{
  display:flex;
  gap:12px;
  align-items:flex-start;
  line-height:1.7;
}

.list li span{
  color:var(--orange);
  font-weight:800;
}

.why-box{
  background:linear-gradient(180deg,#fff,var(--sand));
}

/* GALLERY */

.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.gallery img{
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:24px;
  box-shadow:var(--shadow);
}

/* QUOTE SECTION */

.contact-band{
  background:linear-gradient(135deg,var(--deep),#0b6a70);
  color:#fff;
}

.form-wrap{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:28px;
  align-items:start;
}

.contact-card{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  border-radius:28px;
  padding:30px;
}

.contact-card h3,
.quote-form h3{
  color:#fff;
  margin:0 0 14px;
  font-size:32px;
}

.contact-card p{
  color:rgba(255,255,255,.92);
  line-height:1.8;
  margin:0 0 16px;
}

.contact-card a{
  color:#fff;
  font-weight:700;
}

.quote-form{
  background:#fff;
  border:1px solid var(--border);
  border-radius:28px;
  padding:30px;
  box-shadow:var(--shadow);
}

.quote-form h3{
  color:var(--deep);
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.full{
  grid-column:1 / -1;
}

label{
  display:block;
  margin:0 0 8px;
  font-size:14px;
  font-weight:700;
  color:var(--deep);
}

input,
textarea{
  width:100%;
  padding:15px 16px;
  border:1px solid rgba(6,62,72,.16);
  border-radius:16px;
  font-size:16px;
  font-family:'Montserrat',Arial,sans-serif;
  background:#fff;
}

textarea{
  min-height:150px;
  resize:vertical;
}

.quote-note{
  font-size:14px;
  color:var(--muted);
  margin-top:14px;
  line-height:1.7;
}

/* CONTACT FORM 7 FIXED STYLING */

.wpcf7{
  margin:0;
}

.wpcf7 form{
  margin:0;
}

.wpcf7 .form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.wpcf7 .full{
  grid-column:1 / -1;
}

.wpcf7 label{
  display:block;
  margin:0 0 8px;
  font-size:14px;
  font-weight:700;
  color:var(--deep);
}

.wpcf7 input:not([type="submit"]),
.wpcf7 textarea{
  width:100%;
  padding:15px 16px;
  border:1px solid rgba(6,62,72,.16);
  border-radius:16px;
  font-size:16px;
  font-family:'Montserrat',Arial,sans-serif;
  background:#fff;
  color:var(--text);
  margin-top:8px;
}

.wpcf7 textarea{
  min-height:150px;
  resize:vertical;
}

.wpcf7 input[type="submit"],
.wpcf7 input.wpcf7-submit,
.wpcf7-form-control.wpcf7-submit{
  display:inline-block !important;
  width:auto !important;
  min-width:170px !important;
  padding:15px 28px !important;
  border-radius:999px !important;
  border:0 !important;
  outline:0 !important;
  cursor:pointer !important;
  background:linear-gradient(135deg,#f46a1f,#f7a61a) !important;
  color:#ffffff !important;
  font-family:'Montserrat',Arial,sans-serif !important;
  font-size:16px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  text-align:center !important;
  text-decoration:none !important;
  box-shadow:0 10px 24px rgba(244,106,31,.28) !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  transition:all .25s ease !important;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 input.wpcf7-submit:hover,
.wpcf7-form-control.wpcf7-submit:hover{
  background:linear-gradient(135deg,#dd5d17,#f46a1f) !important;
  color:#ffffff !important;
  transform:translateY(-2px) !important;
}

.wpcf7 input[type="submit"]:focus,
.wpcf7 input.wpcf7-submit:focus,
.wpcf7-form-control.wpcf7-submit:focus{
  background:linear-gradient(135deg,#f46a1f,#f7a61a) !important;
  color:#ffffff !important;
}

.wpcf7-spinner{
  display:block;
  margin-top:12px;
}

.wpcf7-response-output{
  border-radius:16px;
  padding:12px 16px !important;
  margin:18px 0 0 !important;
  color:var(--text);
}

/* FOOTER */

footer{
  background:linear-gradient(135deg,var(--deep),#082e35);
  color:#fff;
  padding:36px 20px;
  text-align:center;
}

footer p{
  margin:8px 0;
  line-height:1.7;
}

footer a{
  color:#fff;
}

.footer-name{
  font-size:30px;
}

/* RESPONSIVE */

@media (max-width: 991px){
  .hero-grid,
  .grid-2,
  .form-wrap{
    grid-template-columns:1fr;
  }

  .grid-4{
    grid-template-columns:1fr 1fr;
  }

  .gallery{
    grid-template-columns:1fr 1fr;
  }

  .title{
    font-size:56px;
  }

  .hero-grid{
    min-height:auto;
    padding:36px 0;
  }
}

@media (max-width: 640px){
  .has-sticky-header{
    padding-top:78px;
  }

  .sticky-header-inner{
    padding:10px 12px;
    gap:10px;
  }

  .sticky-header.scrolled .sticky-header-inner{
    padding:8px 12px;
  }

  .sticky-brand{
    gap:8px;
  }

  .sticky-brand img{
    width:42px;
  }

  .sticky-header.scrolled .sticky-brand img{
    width:34px;
  }

  .sticky-brand-text{
    font-size:13px;
  }

  .sticky-header.scrolled .sticky-brand-text{
    font-size:12px;
  }

  .sticky-actions{
    gap:6px;
  }

  .sticky-btn{
    padding:9px 10px;
    font-size:12px;
  }

  .title{
    font-size:42px;
  }

  .lead{
    font-size:18px;
  }

  .section{
    padding:56px 0;
  }

  .section-heading h2{
    font-size:42px;
  }

  .grid-4,
  .gallery,
  .form-grid,
  .wpcf7 .form-grid{
    grid-template-columns:1fr;
  }

  .gallery img{
    height:240px;
  }

  .wpcf7 input[type="submit"],
  .wpcf7 input.wpcf7-submit,
  .wpcf7-form-control.wpcf7-submit{
    width:100% !important;
  }
}