/* ProFence Irving — Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', Arial, sans-serif; font-size: 16px; line-height: 1.7; color: #111; background: #fff; }
img { max-width: 100%; display: block; }
a { color: #e07b2a; text-decoration: none; }
a:hover { color: #c4671a; }
h1, h2, h3, h4 { font-family: 'Oswald', Arial, sans-serif; font-weight: 600; line-height: 1.2; color: #1a2744; }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.btn { display: inline-block; padding: 13px 28px; border-radius: 6px; font-family: 'Oswald', Arial, sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 0.5px; cursor: pointer; border: none; transition: background 0.2s, transform 0.1s; text-transform: uppercase; }
.btn-primary { background: #e07b2a; color: #fff; }
.btn-primary:hover { background: #c4671a; color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: #1a2744; }

/* HEADER */
header { background: #1a2744; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: 1140px; margin: 0 auto; gap: 16px; flex-wrap: wrap; }
.logo { font-family: 'Oswald', Arial, sans-serif; font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: 1px; }
.logo span { color: #e07b2a; }
.header-contacts { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.header-phone { color: #fff; font-weight: 600; font-size: 1.1rem; display: flex; align-items: center; gap: 6px; }
.header-phone:hover { color: #e07b2a; }
.header-email { color: #c5ccd8; font-size: 0.9rem; }
.header-email:hover { color: #e07b2a; }
nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav a { color: #c5ccd8; font-size: 0.9rem; font-weight: 500; padding: 6px 10px; border-radius: 6px; transition: color 0.2s, background 0.2s; }
nav a:hover, nav a.active { color: #fff; background: rgba(255,255,255,0.1); }
.header-cta { background: #e07b2a !important; color: #fff !important; font-family: 'Oswald', Arial, sans-serif; font-weight: 600; text-transform: uppercase; }
.header-cta:hover { background: #c4671a !important; }

/* HERO */
.hero { background: #1a2744; color: #fff; padding: 90px 20px 80px; text-align: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.18; }
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-badges { display: flex; justify-content: center; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.9); font-size: 0.9rem; }
.hero-badge .icon { color: #e07b2a; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* SECTIONS */
section { padding: 72px 0; }
.section-alt { background: #f5f6f8; }
.section-label { display: inline-block; background: #e07b2a; color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 3px; margin-bottom: 12px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header p { color: #6b7280; max-width: 560px; margin: 12px auto 0; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service-card { background: #fff; border-radius: 6px; padding: 28px 22px; box-shadow: 0 2px 12px rgba(0,0,0,0.09); border-top: 4px solid #e07b2a; transition: transform 0.2s, box-shadow 0.2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.13); }
.service-card-img { width: 100%; height: 180px; object-fit: cover; border-radius: 4px; margin-bottom: 16px; }
.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: #6b7280; font-size: 0.95rem; margin-bottom: 14px; }
.service-card a { font-weight: 600; font-size: 0.9rem; color: #e07b2a; }

/* WHY US */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.why-card { text-align: center; padding: 28px 18px; background: #fff; border-radius: 6px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.why-card .icon { font-size: 2.2rem; margin-bottom: 12px; }
.why-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.why-card p { color: #6b7280; font-size: 0.9rem; }

/* AREAS */
.areas-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.areas-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.areas-list li { display: flex; align-items: center; gap: 8px; font-weight: 500; color: #1a2744; }
.areas-list li::before { content: '📍'; font-size: 0.9rem; }
.neighborhoods { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e2e5ea; }
.neighborhoods h4 { color: #1a2744; margin-bottom: 10px; }
.neighborhoods p { color: #6b7280; font-size: 0.9rem; line-height: 1.8; }
.map-wrapper { border-radius: 6px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.map-wrapper iframe { width: 100%; height: 360px; border: none; display: block; }

/* CTA BANNER */
.cta-banner { background: #1a2744; color: #fff; text-align: center; padding: 72px 20px; }
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-info { display: flex; justify-content: center; gap: 28px; margin-bottom: 28px; flex-wrap: wrap; }
.cta-info span { color: rgba(255,255,255,0.85); font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }

/* FOOTER */
footer { background: #111c33; color: rgba(255,255,255,0.7); padding: 56px 20px 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.5fr; gap: 36px; max-width: 1140px; margin: 0 auto 40px; }
.footer-brand .logo { font-size: 1.3rem; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 { color: #fff; font-family: 'Oswald', Arial, sans-serif; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li.footer-sep { height: 1px; background: rgba(255,255,255,0.15); margin: 14px 0; list-style: none; }
.footer-col ul a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-col ul a:hover { color: #e07b2a; }
.footer-nap p { font-size: 0.9rem; margin-bottom: 8px; }
.footer-nap a { color: rgba(255,255,255,0.65); }
.footer-nap a:hover { color: #e07b2a; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.85rem; max-width: 1140px; margin: 0 auto; }

/* MODAL */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal { background: #fff; border-radius: 10px; padding: 40px; max-width: 520px; width: 100%; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: modalIn 0.25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close { position: absolute; top: 16px; right: 20px; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: #6b7280; line-height: 1; }
.modal-close:hover { color: #111; }
.modal h3 { margin-bottom: 6px; }
.modal .modal-sub { color: #6b7280; font-size: 0.9rem; margin-bottom: 22px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 13px; border: 1.5px solid #e2e5ea; border-radius: 6px; font-family: 'Inter', Arial, sans-serif; font-size: 0.95rem; transition: border-color 0.2s; background: #fff; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #e07b2a; }
.form-group textarea { resize: vertical; min-height: 80px; }
.hp-field { display: none !important; }
.form-note { font-size: 0.8rem; color: #6b7280; margin-top: 10px; text-align: center; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success .check { font-size: 3rem; margin-bottom: 10px; }
.form-success h4 { color: #1a2744; margin-bottom: 8px; }
.form-success p { color: #6b7280; }

/* PAGE HERO */
.page-hero { background: #1a2744; color: #fff; padding: 56px 20px; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: #e07b2a; }

/* SERVICE PAGE */
.service-detail { padding: 72px 0; }
.service-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.service-hero-img { width: 100%; height: 320px; object-fit: cover; border-radius: 8px; margin-bottom: 28px; }
.service-content h2 { margin: 32px 0 12px; }
.service-content p { margin-bottom: 14px; color: #333; }
.service-content ul { margin: 0 0 18px 20px; }
.service-content ul li { margin-bottom: 8px; color: #333; }
.service-sidebar { position: sticky; top: 90px; }
.sidebar-box { background: #1a2744; color: #fff; border-radius: 6px; padding: 28px; margin-bottom: 20px; }
.sidebar-box h4 { color: #fff; font-family: 'Oswald', Arial, sans-serif; margin-bottom: 14px; font-size: 1.05rem; }
.phone-big { font-size: 1.4rem; font-weight: 700; color: #e07b2a; display: block; margin-bottom: 12px; }
.sidebar-box p { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.sidebar-links { background: #f5f6f8; border-radius: 6px; padding: 22px; }
.sidebar-links h4 { color: #1a2744; margin-bottom: 12px; font-size: 0.95rem; }
.sidebar-links ul { list-style: none; }
.sidebar-links ul li { margin-bottom: 8px; }
.sidebar-links ul a { color: #1a2744; font-size: 0.9rem; font-weight: 500; }
.sidebar-links ul a:hover { color: #e07b2a; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e2e5ea; padding: 18px 0; }
.faq-question { font-family: 'Oswald', Arial, sans-serif; font-size: 1.05rem; font-weight: 600; color: #1a2744; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-question::after { content: '+'; font-size: 1.3rem; color: #e07b2a; flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { display: none; padding-top: 12px; color: #444; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* CONTACT */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.contact-form-wrap { background: #f5f6f8; border-radius: 6px; padding: 36px; }
.contact-form-wrap h2 { margin-bottom: 22px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-info-item .ci-icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-info-item strong { display: block; color: #1a2744; margin-bottom: 3px; font-size: 0.95rem; }
.contact-info-item p, .contact-info-item a { color: #6b7280; font-size: 0.92rem; }
.contact-info-item a:hover { color: #e07b2a; }

/* PHOTO GALLERY */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.photo-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; transition: transform 0.2s; }
.photo-grid img:hover { transform: scale(1.02); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .areas-layout { grid-template-columns: 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .header-contacts { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .areas-list { grid-template-columns: 1fr; }
  .hero { padding: 56px 20px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .modal { padding: 24px 18px; }
  .photo-grid { grid-template-columns: 1fr; }
}

/* HEADER REDESIGN */
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.header-contacts {
  justify-content: center;
}
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .header-contacts { display: none; }
  nav { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  nav a:not(.header-cta) { display: none; }
}

/* Ensure all footer Service Areas links look identical */
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  font-family: 'Inter', Arial, sans-serif;
}
.footer-col ul li a:hover {
  color: #e07b2a;
}
