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

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --primary:            hsl(37.65, 29.14%, 65.69%);
    --primary-dark:       hsl(37.65, 29.14%, 52%);
    --secondary:          hsl(220, 5.45%, 10.78%);
    --secondary-fg:       hsl(45, 35%, 85%);
    --background:         hsl(0, 0%, 100%);
    --foreground:         hsl(210, 25%, 15%);
    --card:               hsl(0, 0%, 100%);
    --card-fg:            hsl(210, 25%, 15%);
    --muted:              hsl(210, 20%, 95%);
    --muted-fg:           hsl(210, 25%, 45%);
    --muted-light:        hsl(210, 20%, 90%);
    --accent:             hsl(45, 85%, 65%);
    --border:             hsl(215, 15%, 85%);
    --input-bg:           hsl(215, 15%, 92%);
    --destructive:        hsl(0, 70%, 50%);
    --radius:             0.5rem;
    --shadow:             0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-lg:          0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl:          0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-2xl:         0 25px 50px -12px rgba(0,0,0,0.25);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--muted-fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--foreground);
    font-weight: 700;
    line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--secondary);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.nav-logo-img {
    width: 2.5rem;
    height: 2rem;
    object-fit: contain;
    background-color: var(--primary);
    padding: 2px;
    border-radius: 2px;
}

.nav-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a {
    color: var(--muted-light);
    font-size: 0.9375rem;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); font-weight: 500; }

.nav-call {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: var(--secondary) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background-color 0.2s;
}
@media (min-width: 768px) { .nav-call { display: inline-flex; } }
.nav-call:hover { background-color: var(--primary-dark); }

.nav-toggle {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    font-size: 1.25rem;
    padding: 0.25rem;
    line-height: 1;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
    display: none;
    background-color: var(--secondary);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0.5rem 0 1rem;
}
.mobile-menu.open { display: block; }

.mobile-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--secondary-fg);
    font-size: 0.9375rem;
    transition: color 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--primary); }

.mobile-call {
    display: block;
    margin: 0.75rem 1rem 0;
    background-color: var(--primary);
    color: var(--secondary) !important;
    padding: 0.625rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
}
.mobile-call:hover { background-color: var(--primary-dark) !important; }

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero-section {
    position: relative;
    background-color: var(--secondary);
    background-image: radial-gradient(circle at 1px 1px, rgba(34, 60, 47, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
    padding: 5rem 0;
}
@media (min-width: 1024px) { .hero-section { padding: 8rem 0; } }

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

.hero-content { display: flex; flex-direction: column; gap: 2rem; }

.hero-heading {
    font-size: 2.5rem;
    color: var(--muted);
    line-height: 1.15;
}
@media (min-width: 1024px) { .hero-heading { font-size: 3.75rem; } }
.hero-heading .text-primary { color: var(--primary); }

.hero-subtext {
    font-size: 1.125rem;
    color: var(--muted-light);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

.hero-badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 0.5rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-light);
}
.hero-badge i { color: var(--accent); }

.hero-image-wrap { position: relative; }

.hero-img {
    border-radius: calc(var(--radius) * 2.5);
    box-shadow: var(--shadow-2xl);
    width: 100%;
    height: auto;
}

.hero-badge-card {
    position: absolute;
    bottom: -1.5rem;
    right: 0;
    background-color: white;
    padding: 1.25rem 1.5rem;
    border-radius: calc(var(--radius) * 2);
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 11rem;
}
@media (min-width: 640px) { .hero-badge-card { right: -1.5rem; } }

.hero-badge-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}
.hero-badge-sub {
    font-size: 0.75rem;
    color: var(--muted-fg);
    margin-top: 0.25rem;
}

/* ============================================================
   PAGE HERO (services / contact)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg,
        hsl(37.65, 29.14%, 95%) 0%,
        var(--background) 50%,
        var(--muted) 100%);
    padding: 5rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 1024px) { .page-hero h1 { font-size: 3.75rem; } }
.page-hero h1 .text-primary { color: var(--primary); }

.page-hero p {
    font-size: 1.125rem;
    color: var(--muted-fg);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.section { padding: 5rem 0; }
.section-muted { background-color: var(--muted); }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}
@media (min-width: 1024px) { .section-header h2 { font-size: 3rem; } }
.section-header p {
    font-size: 1.125rem;
    color: var(--muted-fg);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--secondary);
}

.btn-outline-light {
    border: 1px solid var(--border);
    background-color: transparent;
    color: var(--muted);
}
.btn-outline-light:hover {
    background-color: var(--muted);
    color: var(--foreground);
}

.btn-white {
    background-color: white;
    color: var(--secondary);
}
.btn-white:hover { background-color: hsl(0,0%,90%); }

.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.6);
    background-color: transparent;
    color: white;
}
.btn-outline-white:hover { background-color: rgba(255,255,255,0.12); }

.btn-full { width: 100%; }

/* ============================================================
   SERVICES PREVIEW CARDS (homepage)
   ============================================================ */
.services-grid {
    display: grid;
    gap: 2rem;
}
@media (min-width: 768px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
    background-color: var(--card);
    border-radius: calc(var(--radius) * 2);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: box-shadow 0.25s;
}
.service-card:hover { box-shadow: var(--shadow-xl); }

.service-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.service-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-card-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.service-card-title i { color: var(--primary); font-size: 1.125rem; }
.service-card-title h3 { font-size: 1.125rem; font-weight: 600; }

.service-card-body p { color: var(--muted-fg); font-size: 0.9375rem; line-height: 1.6; }

.services-cta { text-align: center; margin-top: 3rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
    display: grid;
    gap: 2rem;
}
@media (min-width: 768px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-grid img {
    border-radius: calc(var(--radius) * 2);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-grid img:hover { transform: scale(1.04); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
    display: grid;
    gap: 2rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
    background-color: var(--card);
    border-radius: calc(var(--radius) * 2);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.stars i { color: var(--accent); font-size: 0.875rem; }

.testimonial-quote {
    color: var(--muted-fg);
    font-style: italic;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1rem;
}

.testimonial-author .author-name {
    font-weight: 600;
    color: var(--card-fg);
    font-size: 0.9375rem;
}
.testimonial-author .author-location {
    font-size: 0.8125rem;
    color: var(--muted-fg);
}

/* ============================================================
   SERVICES PAGE — SERVICE DETAIL SECTIONS
   ============================================================ */
.service-detail { padding: 5rem 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: none; }

.service-detail-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .service-detail-grid { grid-template-columns: 1fr 1fr; }
    .service-detail-grid.reversed .detail-content { order: 2; }
    .service-detail-grid.reversed .detail-image  { order: 1; }
}

.detail-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.detail-heading i { color: var(--primary); font-size: 1.5rem; }
.detail-heading h2 { font-size: 1.875rem; }
@media (min-width: 1024px) { .detail-heading h2 { font-size: 2.25rem; } }

.detail-desc {
    font-size: 1.0625rem;
    color: var(--muted-fg);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.detail-section-label {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-item, .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--muted-fg);
}
.feature-item i { color: var(--accent); margin-top: 0.2rem; flex-shrink: 0; }
.benefit-item i { color: var(--accent); margin-top: 0.25rem; flex-shrink: 0; font-size: 0.75rem; }

.benefits-list { display: flex; flex-direction: column; gap: 0.5rem; }

.detail-image img {
    border-radius: calc(var(--radius) * 2.5);
    box-shadow: var(--shadow-2xl);
    width: 100%;
    height: auto;
}

/* Why Choose Us */
.why-grid {
    display: grid;
    gap: 2rem;
}
@media (min-width: 768px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
    background-color: var(--card);
    border-radius: calc(var(--radius) * 2);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    text-align: center;
}
.why-card i { font-size: 2.5rem; color: var(--primary); display: block; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.why-card p { color: var(--muted-fg); font-size: 0.9375rem; line-height: 1.6; }

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    padding: 5rem 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}
@media (min-width: 1024px) { .cta-section h2 { font-size: 3rem; } }
.cta-section p {
    font-size: 1.125rem;
    color: var(--secondary);
    opacity: 0.9;
    max-width: 48rem;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    gap: 3rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* Form card */
.form-card {
    background-color: var(--card);
    border-radius: calc(var(--radius) * 2);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}
.form-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }

/* Alert */
.alert {
    padding: 0.875rem 1.125rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}
.alert-success {
    background-color: hsl(140, 50%, 95%);
    color: hsl(140, 50%, 25%);
    border: 1px solid hsl(140, 50%, 75%);
}
.alert-error {
    background-color: hsl(0, 60%, 96%);
    color: hsl(0, 60%, 35%);
    border: 1px solid hsl(0, 60%, 80%);
}

/* Form layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1.25rem; }
.form-group:last-child { margin-bottom: 0; }

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--foreground);
    background-color: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(37.65, 29.14%, 65.69%, 0.2);
}
input.error, select.error, textarea.error {
    border-color: var(--destructive);
}
.field-error {
    font-size: 0.8125rem;
    color: var(--destructive);
    margin-top: 0.3rem;
    display: block;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23596880' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.8rem;
    padding-right: 2.5rem;
}

textarea { resize: vertical; min-height: 7rem; }

.form-submit {
    width: 100%;
    padding: 0.875rem;
    background-color: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 0.5rem;
}
.form-submit:hover { background-color: var(--primary-dark); }

/* Contact sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.info-card {
    background-color: var(--card);
    border-radius: calc(var(--radius) * 2);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
}
.info-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 1.25rem; }

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 1rem;
}
.info-row:last-child { margin-bottom: 0; }
.info-row i {
    color: var(--primary);
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.info-label { font-weight: 500; color: var(--foreground); font-size: 0.9375rem; }
.info-sub   { font-size: 0.8125rem; color: var(--muted-fg); }

/* Steps */
.steps-list { display: flex; flex-direction: column; gap: 1rem; }

.step {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}
.step-num {
    background-color: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    width: 1.75rem;
    height: 1.75rem;
    min-width: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
}
.step-label { font-weight: 500; color: var(--foreground); font-size: 0.9375rem; }
.step-desc  { font-size: 0.8125rem; color: var(--muted-fg); margin-top: 0.125rem; }

/* Areas section */
.areas-card {
    background-color: var(--card);
    border-radius: calc(var(--radius) * 2);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}
.areas-card i { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; }
.areas-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.areas-card .areas-lead { font-size: 1rem; color: var(--muted-fg); margin-bottom: 0.4rem; }
.areas-card .areas-towns { font-size: 0.9375rem; color: var(--muted-fg); }
.areas-card .areas-cta { font-size: 1rem; color: var(--muted-fg); margin-top: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background-color: var(--secondary);
    color: var(--secondary-fg);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}
.footer-logo-img {
    width: 2rem;
    height: 1.6rem;
    object-fit: contain;
    background-color: var(--primary);
    padding: 2px;
    border-radius: 2px;
}
.footer-logo-text { font-size: 1rem; font-weight: 700; }

.footer-about p {
    font-size: 0.875rem;
    color: hsl(45, 20%, 65%);
    line-height: 1.7;
}

.footer-col h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col ul li {
    font-size: 0.875rem;
    color: hsl(45, 20%, 65%);
    margin-bottom: 0.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: hsl(45, 20%, 65%);
    margin-bottom: 0.75rem;
}
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-item i { width: 1rem; text-align: center; flex-shrink: 0; margin-top: 0.2rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: hsl(45, 15%, 50%);
}
.footer-bottom a { color: hsl(45, 25%, 65%); }
.footer-bottom a:hover { color: var(--primary); }
