/* ==========================================================================
   AIPG Plumbing — shared design system
   ========================================================================== */

:root{
  --black:#0a0a0a;
  --black-soft:#161616;
  --red-600:#d62a2c;
  --red-700:#b31f21;
  --red-100:#fbe6e6;
  --whatsapp:#25D366;
  --whatsapp-dark:#1ebc59;
  --ink:#121212;
  --body-text:#5c5d63;
  --light-bg:#f7f7f7;
  --border:#e7e7e9;
  --shadow:0 16px 40px rgba(0,0,0,.10);
  --radius-lg:18px;
  --radius-md:12px;
  --radius-sm:8px;
  --ease:cubic-bezier(.4,0,.2,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter',sans-serif;
  color:var(--body-text);
  background:#fff;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4,h5{ font-family:'Poppins',sans-serif; color:var(--ink); margin:0; line-height:1.15; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
.container{ max-width:1200px; margin:0 auto; padding:0 24px; }

/* -------------------- Buttons -------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:700; font-size:14px; letter-spacing:.02em;
  padding:14px 26px; border-radius:var(--radius-sm);
  transition:transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  border:2px solid transparent; white-space:nowrap;
}
.btn svg{ width:16px; height:16px; flex-shrink:0; }
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--red-600); color:#fff; box-shadow:0 10px 24px rgba(214,42,44,.35); }
.btn-primary:hover{ background:var(--red-700); }
.btn-whatsapp{ background:var(--whatsapp); color:#fff; box-shadow:0 10px 24px rgba(37,211,102,.3); }
.btn-whatsapp:hover{ background:var(--whatsapp-dark); }
.btn-outline{ border-color:rgba(255,255,255,.35); color:#fff; background:transparent; }
.btn-outline:hover{ background:rgba(255,255,255,.08); }
.btn-dark{ background:var(--black); color:#fff; }
.btn-dark:hover{ background:#000; }
.btn-block{ width:100%; }

.btn-sm{ padding:8px 18px; font-size:12px; }

/* -------------------- Header -------------------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--black);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:14px; gap:18px; }
.brand{ display:flex; flex-direction:column; align-items:flex-start; gap:2px; color:#fff; flex-shrink:0; }
.brand-mark{ width:130px; height:auto; flex-shrink:0; object-fit:contain; display:block; }
.brand-text{ line-height:1.1; }
.brand-tag{ display:block; font-size:10px; font-style:italic; color:#9a9a9e; margin-top:0; margin-left:2px; }

.nav-links{ display:none; align-items:center; gap:30px; }
@media (min-width:960px){ .nav-links{ display:flex; } }
.nav-links a{
  font-size:14px; font-weight:600; color:#d8d8db; padding:6px 0; position:relative;
}
.nav-links a.active, .nav-links a:hover{ color:#fff; }
.nav-links a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--red-600);
}

.nav-actions{ display:none; align-items:center; gap:12px; }
@media (min-width:1180px){ .nav-actions{ display:flex; } }
.nav-whatsapp{
  display:flex; align-items:center; gap:8px; border:1.5px solid rgba(255,255,255,.35);
  color:#fff; padding:10px 18px; border-radius:var(--radius-sm); font-size:13px; font-weight:700;
}
.nav-whatsapp svg{ width:16px; height:16px; color:var(--whatsapp); }
.nav-call{ text-align:right; }
.nav-call .btn{ padding:10px 20px; }
.nav-call span{ display:block; font-size:11px; color:#9a9a9e; margin-top:4px; text-align:center; }

.nav-toggle{
  display:flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:8px; border:1px solid rgba(255,255,255,.2);
  background:transparent; color:#fff;
}
@media (min-width:960px){ .nav-toggle{ display:none; } }
.nav-toggle svg{ width:20px; height:20px; }

.mobile-menu{
  max-height:0; overflow:hidden; background:var(--black-soft);
  transition:max-height .3s var(--ease);
  border-top:1px solid rgba(255,255,255,.06);
}
.mobile-menu.open{ max-height:420px; }
.mobile-menu-inner{ display:flex; flex-direction:column; gap:4px; padding:16px 24px 24px; }
.mobile-menu-inner a{ color:#e4e4e6; font-weight:600; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.06); }
.mobile-menu-inner a.active{ color:var(--red-600); }
.mobile-menu-inner .btn{ margin-top:14px; }
@media (min-width:960px){ .mobile-menu{ display:none; } }

/* -------------------- Hero -------------------- */
.hero{ background:var(--black); position:relative; overflow:hidden; }
.hero-grid{
  display:grid; grid-template-columns:1fr; gap:36px; align-items:center;
  padding-top:56px; padding-bottom:64px;
}
@media (min-width:900px){ .hero-grid{ grid-template-columns:1.05fr .95fr; padding-top:76px; padding-bottom:88px; gap:40px; } }
.eyebrow{ display:inline-block; font-size:12.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--red-600); margin-bottom:12px; }
.hero-title{ font-size:34px; font-weight:800; color:#fff; letter-spacing:-.01em; }
@media (min-width:600px){ .hero-title{ font-size:44px; } }
@media (min-width:1100px){ .hero-title{ font-size:50px; } }
.hero-title .hl{ color:var(--red-600); }
.hero-sub{ margin-top:18px; font-size:16px; color:#b9b9bd; max-width:480px; line-height:1.65; }
.hero-actions{ margin-top:28px; display:flex; flex-wrap:wrap; gap:14px; }
.hero-media{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:0 30px 70px rgba(0,0,0,.5); }
.hero-media img{ width:100%; height:100%; object-fit:cover; }

/* -------------------- Trust bar -------------------- */
.trust-bar{ background:var(--black-soft); padding:26px 0; border-top:1px solid rgba(255,255,255,.06); }
.trust-grid{ display:grid; grid-template-columns:1fr; gap:22px; text-align:center; }
@media (min-width:760px){ .trust-grid{ grid-template-columns:repeat(4,1fr); text-align:left; } }
.trust-item{ display:flex; align-items:center; justify-content:center; gap:12px; color:#e4e4e6; font-size:14px; font-weight:600; }
@media (min-width:760px){ .trust-item{ justify-content:flex-start; } }
.trust-item .stars{ color:var(--red-600); font-size:15px; letter-spacing:2px; flex-shrink:0; }
.trust-icon{
  width:38px; height:38px; border-radius:50%; border:1.5px solid rgba(255,255,255,.25);
  display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0;
}
.trust-icon svg{ width:18px; height:18px; }

/* -------------------- Section heading -------------------- */
.section-head{ text-align:center; max-width:640px; margin:0 auto 44px; }
.section-title{ font-size:28px; font-weight:800; margin-top:8px; }
@media (min-width:700px){ .section-title{ font-size:34px; } }
.section-title .hi{ color:var(--red-600); }
.section{ padding:72px 0; }
.section-alt{ background:var(--light-bg); }

/* -------------------- Services grid -------------------- */
.services-grid{ display:grid; grid-template-columns:1fr; gap:24px; }
@media (min-width:700px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1000px){ .services-grid{ grid-template-columns:repeat(3,1fr); } }
.service-card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:32px 28px; transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.service-icon{
  width:56px; height:56px; border-radius:14px; background:var(--red-100); color:var(--red-600);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.service-icon svg{ width:28px; height:28px; }
.service-card h3{ font-size:19px; font-weight:700; margin-bottom:10px; }
.service-card p{ font-size:14.5px; line-height:1.6; }
.service-link{ display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-weight:700; font-size:13.5px; color:var(--red-600); }
.service-link svg{ width:14px; height:14px; transition:transform .2s var(--ease); }
.service-card:hover .service-link svg{ transform:translateX(4px); }

/* -------------------- Why choose (dark) -------------------- */
.why{ background:var(--black); color:#fff; }
.why-grid{ display:grid; grid-template-columns:1fr; gap:40px; align-items:center; }
@media (min-width:960px){ .why-grid{ grid-template-columns:1fr 1.15fr; } }
.why-copy .eyebrow{ margin-bottom:10px; }
.why-copy h2{ font-size:30px; font-weight:800; color:#fff; }
@media (min-width:600px){ .why-copy h2{ font-size:36px; } }
.why-copy h2 .hl{ color:var(--red-600); }
.why-copy p{ margin-top:18px; color:#b9b9bd; font-size:15px; line-height:1.7; max-width:460px; }
.why-stats{ display:grid; grid-template-columns:1fr; gap:22px; }
@media (min-width:560px){ .why-stats{ grid-template-columns:repeat(3,1fr); } }
.why-stat{ text-align:center; padding:8px; }
.why-stat-icon{
  width:64px; height:64px; border-radius:50%; background:rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:center; margin:0 auto 16px; color:var(--red-600);
}
.why-stat-icon svg{ width:28px; height:28px; }
.why-stat h4{ color:#fff; font-size:16px; font-weight:700; }
.why-stat p{ margin-top:8px; font-size:13.5px; color:#9a9a9e; line-height:1.55; }

/* -------------------- Projects -------------------- */
.projects-grid{ display:grid; grid-template-columns:1fr; gap:20px; }
@media (min-width:760px){ .projects-grid{ grid-template-columns:repeat(3,1fr); } }
.project-card{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); aspect-ratio:4/3; }
.project-card img{ width:100%; height:100%; object-fit:cover; transition:transform .4s var(--ease); }
.project-card:hover img{ transform:scale(1.06); }
.projects-cta{ text-align:center; margin-top:40px; }

/* -------------------- Testimonials -------------------- */
.testi-grid{ display:grid; grid-template-columns:1fr; gap:24px; }
@media (min-width:760px){ .testi-grid{ grid-template-columns:repeat(3,1fr); } }
.testi-card{ background:#fff; border-radius:var(--radius-lg); padding:30px; border:1px solid var(--border); }
.testi-quote{ color:var(--red-600); font-size:36px; font-family:Georgia,serif; line-height:1; margin-bottom:6px; }
.testi-card p{ font-size:14.5px; color:var(--ink); line-height:1.65; }
.testi-stars{ margin-top:18px; color:var(--red-600); letter-spacing:2px; font-size:14px; }
.testi-name{ margin-top:10px; font-weight:700; color:var(--ink); font-size:14px; }
.testi-loc{ font-size:12.5px; color:var(--body-text); }

/* -------------------- CTA bar -------------------- */
.cta-bar{ background:var(--red-600); position:relative; overflow:hidden; }
.cta-bar-inner{
  padding-top:30px; padding-bottom:30px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px;
}
.cta-left{ display:flex; align-items:center; gap:16px; color:#fff; }
.cta-icon{
  width:52px; height:52px; border-radius:50%; border:2px solid rgba(255,255,255,.6);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.cta-icon svg{ width:22px; height:22px; }
.cta-left h3{ color:#fff; font-size:19px; font-weight:800; }
.cta-left p{ font-size:13.5px; color:rgba(255,255,255,.85); margin-top:2px; }
.cta-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:14px; }
.cta-phone{ color:#fff; font-size:20px; font-weight:800; display:flex; align-items:center; gap:10px; }
.cta-phone svg{ width:20px; height:20px; }
.cta-actions .btn-dark{ background:var(--black); }

/* -------------------- Footer -------------------- */
.site-footer{ background:var(--black); color:#9a9a9e; padding-top:60px; }
.footer-grid{ display:grid; grid-template-columns:1fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.08); }
@media (min-width:760px){ .footer-grid{ grid-template-columns:1.3fr 1fr 1fr 1.1fr; } }
.footer-brand .brand{ margin-bottom:14px; }
.footer-brand p{ font-size:13.5px; line-height:1.7; max-width:280px; }
.footer-social{ display:flex; gap:10px; margin-top:20px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.footer-social a:hover{ background:var(--red-600); border-color:var(--red-600); }
.footer-social svg{ width:16px; height:16px; }
.footer-col h5{ color:#fff; font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; margin-bottom:18px; }
.footer-col ul li{ margin-bottom:12px; }
.footer-col ul a{ font-size:13.5px; color:#9a9a9e; }
.footer-col ul a:hover{ color:#fff; }
.footer-contact li{ display:flex; align-items:flex-start; gap:10px; font-size:13.5px; }
.footer-contact svg{ width:15px; height:15px; color:var(--red-600); flex-shrink:0; margin-top:2px; }
.footer-bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; padding:22px 0; font-size:12.5px; color:#77777c; }

/* -------------------- About: story/mission -------------------- */
.split-2{ display:grid; grid-template-columns:1fr; gap:44px; }
@media (min-width:860px){ .split-2{ grid-template-columns:1fr 1fr; } }
.split-2 .divider-col{ border-left:0; }
@media (min-width:860px){ .split-2 .divider-col{ border-left:1px solid var(--border); padding-left:44px; } }
.mini-eyebrow{ font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--red-600); margin-bottom:10px; }
.split-2 h3{ font-size:24px; font-weight:800; margin-bottom:6px; }
.split-2 .underline{ width:44px; height:3px; background:var(--red-600); border-radius:2px; margin-bottom:18px; }
.split-2 p + p{ margin-top:14px; }
.split-2 p{ font-size:14.5px; line-height:1.7; }
.split-2 .btn{ margin-top:24px; }
.mission-row{ display:flex; gap:20px; align-items:flex-start; }
.mission-icon{
  width:64px; height:64px; border-radius:50%; background:var(--light-bg); color:var(--red-600);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.mission-icon svg{ width:28px; height:28px; }

/* -------------------- Values -------------------- */
.values-grid{ display:grid; grid-template-columns:1fr; gap:22px; }
@media (min-width:640px){ .values-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:960px){ .values-grid{ grid-template-columns:repeat(4,1fr); } }
.value-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:30px 22px; text-align:center; }
.value-icon{
  width:56px; height:56px; border-radius:50%; border:2px solid var(--red-600); color:var(--red-600);
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px;
}
.value-icon svg{ width:24px; height:24px; }
.value-card h4{ font-size:14.5px; font-weight:800; letter-spacing:.04em; }
.value-card p{ margin-top:10px; font-size:13.5px; line-height:1.6; }

/* -------------------- Team + Areas -------------------- */
.team-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:24px; }
.team-card{ text-align:left; }
.team-photo{ border-radius:var(--radius-md); overflow:hidden; aspect-ratio:1/1; margin-bottom:12px; }
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.team-card h4{ font-size:14px; font-weight:700; }
.team-card .role{ color:var(--red-600); font-size:12px; font-weight:700; margin-top:2px; }
.team-card .desc{ font-size:12.5px; margin-top:6px; line-height:1.5; }

.areas-list{ display:grid; grid-template-columns:1fr 1fr; gap:6px 20px; margin-top:20px; }
.areas-list li{ display:flex; align-items:center; gap:10px; font-size:14px; color:var(--ink); padding:6px 0; }
.areas-list svg{ width:16px; height:16px; color:var(--red-600); flex-shrink:0; }
.areas-note{
  margin-top:22px; display:flex; align-items:center; gap:16px; background:#fff;
  border:1px solid var(--border); border-radius:var(--radius-md); padding:18px 20px;
}
.areas-note-icon{
  width:44px; height:44px; border-radius:10px; background:var(--red-100); color:var(--red-600);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.areas-note-icon svg{ width:22px; height:22px; }
.areas-note p{ font-size:13.5px; color:var(--body-text); line-height:1.5; }

/* -------------------- About/contact hero (photo banner) -------------------- */
.page-hero{ background:var(--black); }
.page-hero-grid{ display:grid; grid-template-columns:1fr; gap:0; align-items:stretch; }
@media (min-width:900px){ .page-hero-grid{ grid-template-columns:1fr 1fr; } }
.page-hero-copy{ padding:56px 24px; }
@media (min-width:900px){ .page-hero-copy{ padding:80px 60px 80px 0; margin-left:auto; max-width:560px; } }
.page-hero-title{ font-size:32px; font-weight:800; color:#fff; letter-spacing:-.01em; }
@media (min-width:600px){ .page-hero-title{ font-size:42px; } }
.page-hero-title .hl{ color:var(--red-600); }
.page-hero-copy p{ margin-top:16px; font-size:15px; color:#b9b9bd; line-height:1.7; max-width:440px; }
.page-hero-copy .hero-actions{ margin-top:26px; }
.page-hero-photo{ position:relative; min-height:280px; }
.page-hero-photo img{ width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }

/* -------------------- Contact page -------------------- */
.contact-info-grid{ display:grid; grid-template-columns:1fr; gap:20px; }
@media (min-width:640px){ .contact-info-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:960px){ .contact-info-grid{ grid-template-columns:repeat(4,1fr); } }
.info-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:28px 22px; text-align:center; }
.info-card-icon{
  width:56px; height:56px; border-radius:50%; background:var(--red-600); color:#fff;
  display:flex; align-items:center; justify-content:center; margin:0 auto 16px;
}
.info-card-icon svg{ width:24px; height:24px; }
.info-card h4{ font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; margin-bottom:8px; }
.info-card strong{ display:block; font-size:16px; color:var(--ink); margin-bottom:6px; }
.info-card span{ font-size:12.5px; line-height:1.5; }

.contact-grid{ display:grid; grid-template-columns:1fr; gap:36px; margin-top:56px; align-items:start; }
@media (min-width:900px){ .contact-grid{ grid-template-columns:1.1fr 1fr; } }
.form-title{ font-size:22px; font-weight:800; margin-bottom:20px; }
.form-row{ display:grid; grid-template-columns:1fr; gap:16px; margin-bottom:16px; }
@media (min-width:560px){ .form-row{ grid-template-columns:1fr 1fr; } }
.field input, .field select, .field textarea{
  width:100%; border:1px solid var(--border); border-radius:var(--radius-sm); padding:14px 16px;
  font-family:inherit; font-size:14px; color:var(--ink); background:#fff;
}
.field textarea{ resize:vertical; min-height:120px; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:2px solid var(--red-600); outline-offset:1px; }
.field{ margin-bottom:16px; }
.form-note{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--body-text); margin-top:14px; }
.form-note svg{ width:14px; height:14px; flex-shrink:0; }
.map-title{ font-size:22px; font-weight:800; margin-bottom:20px; }
.map-frame{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); height:340px; }
.map-frame iframe{ width:100%; height:100%; border:0; }
.map-card{
  margin-top:16px; display:flex; align-items:center; gap:14px; background:#fff;
  border:1px solid var(--border); border-radius:var(--radius-md); padding:16px 18px;
}
.map-card-icon{ width:38px; height:38px; border-radius:50%; background:var(--red-100); color:var(--red-600); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.map-card-icon svg{ width:18px; height:18px; }
.map-card strong{ display:block; font-size:14px; color:var(--ink); }
.map-card span{ font-size:12.5px; }

/* -------------------- FAQ -------------------- */
.faq-grid{ display:grid; grid-template-columns:1fr; gap:14px; }
@media (min-width:800px){ .faq-grid{ grid-template-columns:1fr 1fr; } }
.faq-item{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden; }
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:18px 20px; font-size:14.5px; font-weight:700; color:var(--ink); background:none; border:0; text-align:left;
}
.faq-q svg{ width:18px; height:18px; color:var(--red-600); flex-shrink:0; transition:transform .25s var(--ease); }
.faq-item.open .faq-q svg{ transform:rotate(180deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s var(--ease); }
.faq-item.open .faq-a{ max-height:200px; }
.faq-a-inner{ padding:0 20px 18px; font-size:13.5px; line-height:1.6; }

/* -------------------- Misc -------------------- */
.reveal{ opacity:1; transform:none; }
