/* ==========================================================================
   CHIP Southwest LTD — Main Stylesheet
   ========================================================================== */

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #1a3d2b;
  --green-mid:    #2d6a4f;
  --green-light:  #40916c;
  --green-accent: #52b788;
  --green-pale:   #d8f3dc;
  --white:        #ffffff;
  --grey-light:   #f5f7f5;
  --grey-mid:     #e0e8e2;
  --grey-text:    #5e7363;
  --text-dark:    #1a2e1e;
  --text-body:    #374840;
  --radius:       10px;
  --radius-lg:    18px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.07);
  --shadow-md:    0 4px 18px rgba(0,0,0,.11);
  --shadow-lg:    0 10px 36px rgba(0,0,0,.16);
  --transition:   .2s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-body); background: var(--white); line-height: 1.6; font-size: 16px; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* --- Utility --- */
.container  { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.mx-auto    { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.6rem; border-radius: var(--radius);
  font-weight: 600; font-size: .93rem; cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  border: 2px solid transparent; text-align: center; justify-content: center;
}
.btn-primary { background: var(--green-mid); color: var(--white); border-color: var(--green-mid); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.12); }

.section-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-accent); margin-bottom: .5rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--text-dark); line-height: 1.2; margin-bottom: .9rem; }
.section-sub   { color: var(--grey-text); font-size: .97rem; max-width: 540px; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar { background: var(--green-dark); color: var(--white); font-size: .82rem; padding: .45rem 0; }
.top-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top-bar a { color: var(--white); font-weight: 700; display: flex; align-items: center; gap: .4rem; }
.top-bar a:hover { text-decoration: underline; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar { background: var(--white); box-shadow: 0 1px 0 var(--grey-mid); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.5rem; max-width: 1160px; margin: 0 auto; }

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 56px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--text-body); transition: color var(--transition); position: relative; padding-bottom: 2px; }
.nav-links a:hover, .nav-links a.active { color: var(--green-mid); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--green-mid); border-radius: 2px; }
.nav-cta { background: var(--green-mid); color: var(--white) !important; padding: .5rem 1.1rem; border-radius: var(--radius); font-weight: 600 !important; transition: background var(--transition) !important; }
.nav-cta:hover { background: var(--green-dark) !important; }
.nav-cta.active::after { display: none; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: .35rem; border-radius: var(--radius); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: .2rem; padding: .75rem 1.5rem 1.25rem; border-top: 1px solid var(--grey-mid); background: var(--white); }
.mobile-menu a { font-size: .93rem; font-weight: 500; color: var(--text-body); padding: .55rem .75rem; border-radius: var(--radius); transition: background var(--transition), color var(--transition); }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--grey-light); color: var(--green-mid); }
.mobile-menu .nav-cta { background: var(--green-mid) !important; color: var(--white) !important; margin-top: .5rem; text-align: center; }
.mobile-menu .nav-cta:hover { background: var(--green-dark) !important; }
.mobile-menu.open { display: flex; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: var(--green-dark);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('images/containers.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: .22;
  pointer-events: none;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,61,43,.96) 0%, rgba(26,61,43,.75) 55%, rgba(26,61,43,.3) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 5rem 0;
}

.hero-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-accent); margin-bottom: .75rem; }
.hero h1    { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; line-height: 1.15; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--green-accent); }
.hero p     { color: rgba(255,255,255,.78); font-size: 1.02rem; line-height: 1.75; margin-bottom: 2rem; }
.hero-btns  { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero right side: real photo card */
.hero-photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.12);
  position: relative;
}
.hero-photo-card img { width: 100%; height: 360px; object-fit: cover; object-position: center; display: block; }
.hero-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,61,43,.9));
  padding: 1.5rem;
  display: flex;
  gap: .75rem;
}
.hero-badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: .3rem .8rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--white);
  backdrop-filter: blur(4px);
  cursor: default;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.hero-badge:hover { background: rgba(82,183,136,.3); border-color: var(--green-accent); color: var(--green-accent); }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  background: var(--green-dark);
  background-image: radial-gradient(ellipse at 70% 50%, rgba(64,145,108,.2) 0%, transparent 60%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.page-hero .section-label { color: var(--green-accent); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: .6rem; }
.page-hero p  { color: rgba(255,255,255,.72); font-size: .97rem; max-width: 520px; margin: 0 auto; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section     { padding: 5rem 0; }
.section-alt { background: var(--grey-light); }

/* --- Cards --- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.card { background: var(--white); border: 1px solid var(--grey-mid); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition); }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon { width: 50px; height: 50px; background: var(--green-mid); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; color: var(--white); font-size: 1.3rem; }
.card-icon-img { width: 50px; height: 50px; background: var(--green-dark); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; overflow: hidden; padding: 6px; }
.card-icon-img img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.card h3 { font-size: .97rem; font-weight: 700; color: var(--text-dark); margin-bottom: .45rem; }
.card p  { font-size: .86rem; color: var(--grey-text); line-height: 1.65; }

/* --- Split layout --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--grey-mid); }
.split-img img { width: 100%; height: 420px; object-fit: cover; display: block; }

/* --- Feature list --- */
.feature-list { list-style: none; margin: 1.5rem 0 2rem; }
.feature-list li { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; font-size: .92rem; color: var(--text-body); font-weight: 500; border-bottom: 1px solid var(--grey-mid); }
.feature-list li:last-child { border-bottom: none; }
.check-icon { width: 28px; height: 28px; flex-shrink: 0; background: var(--green-mid); border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: var(--white); font-size: .75rem; font-weight: 700; }

/* --- Pricing card --- */
.pricing-card { background: var(--white); border: 2px solid var(--green-pale); border-radius: var(--radius-lg); padding: 1.75rem; margin: 1.5rem 0 2rem; box-shadow: var(--shadow-sm); }
.pricing-label  { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-text); margin-bottom: .4rem; }
.pricing-amount { font-size: 3.4rem; font-weight: 900; color: var(--green-mid); line-height: 1; }
.pricing-unit   { font-size: .84rem; color: var(--grey-text); margin-top: .2rem; }
.pricing-divider { border: none; border-top: 1px solid var(--grey-mid); margin: 1rem 0; }
.pricing-note   { font-size: .82rem; color: var(--grey-text); }

/* --- Steps --- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.step-card { background: var(--white); border: 1px solid var(--grey-mid); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.step-top  { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.step-icon { width: 40px; height: 40px; background: var(--green-mid); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; }
.step-num  { font-size: 2.4rem; font-weight: 900; color: var(--grey-mid); line-height: 1; }
.step-card h3 { font-size: .93rem; font-weight: 700; color: var(--text-dark); margin-bottom: .35rem; }
.step-card p  { font-size: .84rem; color: var(--grey-text); line-height: 1.65; }

/* --- Container showcase (dark card with photo) --- */
.container-showcase {
  background: linear-gradient(135deg, var(--green-dark) 0%, #0f2418 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.container-showcase img { width: 100%; height: 280px; object-fit: cover; opacity: .75; display: block; }
.container-showcase-footer {
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.cs-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: .3rem .8rem;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}
.cs-badge.hi { background: rgba(82,183,136,.2); border-color: rgba(82,183,136,.4); color: var(--green-accent); }

/* --- Team --- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 500px; margin: 2.5rem auto 0; }
.team-card { background: var(--white); border: 1px solid var(--grey-mid); border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition); }
.team-card:hover { box-shadow: var(--shadow-md); }
.team-avatar { width: 70px; height: 70px; background: var(--green-mid); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.5rem; font-weight: 700; margin: 0 auto 1rem; }
.team-card h3 { font-size: .97rem; font-weight: 700; color: var(--text-dark); margin-bottom: .2rem; }
.team-card p  { font-size: .8rem; color: var(--grey-text); }
.team-card a  { display: inline-block; margin-top: .65rem; font-size: .83rem; color: var(--green-mid); font-weight: 600; }
.team-card a:hover { text-decoration: underline; }

/* --- Values --- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0 2rem; }
.value-card { background: var(--grey-light); border: 1px solid var(--grey-mid); border-radius: var(--radius); padding: 1.2rem; }
.value-icon { width: 38px; height: 38px; background: var(--green-mid); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; margin-bottom: .7rem; }
.value-card h3 { font-size: .86rem; font-weight: 700; color: var(--text-dark); margin-bottom: .3rem; }
.value-card p  { font-size: .78rem; color: var(--grey-text); line-height: 1.55; }

/* --- Contact info blocks --- */
.contact-blocks { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-block { display: flex; align-items: flex-start; gap: 1rem; background: var(--grey-light); border: 1px solid var(--grey-mid); border-radius: var(--radius); padding: 1rem 1.25rem; }
.contact-block-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--green-mid); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; }
.contact-block-label { font-weight: 600; font-size: .86rem; color: var(--text-dark); margin-bottom: .2rem; }
.contact-block-value { font-size: .86rem; color: var(--grey-text); }
.contact-block-value a { color: var(--green-mid); font-weight: 600; }
.contact-block-value a:hover { text-decoration: underline; }

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.form-wrap { background: var(--grey-light); border: 1px solid var(--grey-mid); border-radius: var(--radius-lg); padding: 2rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .84rem; font-weight: 600; color: var(--text-dark); margin-bottom: .4rem; }
.form-group input, .form-group textarea { width: 100%; padding: .7rem 1rem; border: 1.5px solid var(--grey-mid); border-radius: var(--radius); font-family: inherit; font-size: .91rem; color: var(--text-dark); background: var(--white); transition: border-color var(--transition), box-shadow var(--transition); outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(45,106,79,.15); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-hidden { display: none !important; }
.form-error-msg { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; border-radius: var(--radius); padding: .7rem 1rem; font-size: .86rem; margin-bottom: 1rem; display: none; }
.form-error-msg.visible { display: block; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list { margin-top: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--grey-mid); }
.faq-question { width: 100%; background: none; border: none; text-align: left; font-family: inherit; font-size: .93rem; font-weight: 600; color: var(--text-dark); padding: 1.1rem 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: color var(--transition); }
.faq-question:hover { color: var(--green-mid); }
.faq-toggle { flex-shrink: 0; width: 26px; height: 26px; background: var(--grey-light); border: 1px solid var(--grey-mid); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 300; color: var(--green-mid); transition: background var(--transition), transform var(--transition); line-height: 1; }
.faq-item.open .faq-toggle { background: var(--green-mid); color: var(--white); transform: rotate(45deg); }
.faq-answer { display: none; font-size: .88rem; color: var(--grey-text); line-height: 1.78; padding-bottom: 1.25rem; }
.faq-item.open .faq-answer { display: block; }

/* ==========================================================================
   MAP
   ========================================================================== */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--grey-mid); height: 300px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { background: var(--green-dark); color: var(--white); padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.footer-tagline { font-size: .84rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-col h4 { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: .9rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-col ul li a { font-size: .84rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col .contact-line { display: flex; align-items: flex-start; gap: .5rem; font-size: .84rem; color: rgba(255,255,255,.6); margin-bottom: .55rem; }
.footer-col .contact-line a { color: rgba(255,255,255,.6); }
.footer-col .contact-line a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.75rem 0; }
.footer-bottom p { font-size: .74rem; color: rgba(255,255,255,.38); line-height: 1.7; margin-bottom: .4rem; }

/* ==========================================================================
   THANK YOU
   ========================================================================== */
.centered-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 4rem 1.5rem; background: var(--grey-light); }
.centered-box { background: var(--white); border: 1px solid var(--grey-mid); border-radius: var(--radius-lg); padding: 3rem 2.5rem; text-align: center; max-width: 460px; width: 100%; box-shadow: var(--shadow-lg); }
.centered-box .big-icon { width: 70px; height: 70px; background: var(--green-mid); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 1.8rem; color: var(--white); }
.centered-box h1 { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); margin-bottom: .6rem; }
.centered-box p  { color: var(--grey-text); line-height: 1.7; margin-bottom: 1.5rem; }
.phone-highlight { background: var(--grey-light); border: 1px solid var(--grey-mid); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.5rem; }
.phone-highlight p  { font-size: .86rem; color: var(--grey-text); margin-bottom: .3rem; }
.phone-highlight a  { font-size: 1.15rem; font-weight: 800; color: var(--green-mid); }
.phone-highlight a:hover { text-decoration: underline; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .hero-inner    { grid-template-columns: 1fr; }
  .hero-photo-card { display: none; }
  .split         { grid-template-columns: 1fr; gap: 2rem; }
  .cards-3       { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links     { display: none; }
  .hamburger     { display: flex; }
  .hero-inner    { padding: 3.5rem 0; }
  .hero-btns     { flex-direction: column; }
  .section       { padding: 3.5rem 0; }
  .values-grid   { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; max-width: 260px; }
  .footer-grid   { grid-template-columns: 1fr; }
  .top-bar span  { display: none; }
}
