/* ==========================================================================
   DESIGN SYSTEM — GLOBAL COMPONENTS AND UTILITIES
   ==========================================================================
   The web fonts are loaded via <link> in each HTML <head> (faster than
   @import). Everything below is theme-able from the :root variables.
   ========================================================================== */

:root {
    /* ----------------------------------------------------------------------
       [AI_EDITABLE]: BRAND / THEME COLORS  ← change these to rebrand the site
       ----------------------------------------------------------------------
       The default palette is a premium grayscale driven by one hue. To recolor
       everything, EITHER:
         (A) Single-color brand → change the hue + saturation below, e.g. a
             blue brand: hue 214, saturation 80%.
         (B) Two-color brand → set --color-primary and --color-accent to your
             own HEX values directly (overriding the hsl() lines).
       Example (blue brand):
             --color-primary-hue: 214;  --color-primary-saturation: 80%;
       Example (custom two colors):
             --color-primary: #12325c;  --color-accent: #e67e22;
    */
    /* Ayala's Concrete — two-color brand taken from the logo:
       charcoal + gold/bronze. (Defaults kept below as reference.) */
    --color-primary-hue: 0;
    --color-primary-saturation: 0%;

    --color-primary:   #26272a;   /* Charcoal (logo text/mark) */
    --color-secondary: #a47f40;   /* Gold / bronze accent (logo "CONCRETE") */
    --color-accent:    #bf9850;   /* Lighter gold for hover borders/highlights */

    /* Background colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --bg-dark: #121212;
    --bg-dark-secondary: #1a1a1a;

    /* Text colors */
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #7a7a7a;
    --text-light: #ffffff;
    --text-light-secondary: #e0e0e0;

    /* States */
    --color-success: #2b8a3e;
    --color-error: #c92a2a;
    --color-warning: #e67e22;
    --color-info: #228be6;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows and elevation */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);

    /* Borders and radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    --border-color: #e9ecef;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Containers */
    --max-width: 1200px;
    --header-height: 140px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

ul {
    list-style: none;
}

/* ==========================================================================
   NAVBAR (GLASSMORPHISM)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* [AI_EDITABLE]: LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
}

.logo--footer .logo-img {
    height: 170px;
    filter: brightness(0) invert(1);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--color-accent);
    color: var(--color-primary) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--radius-full);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background-color: var(--color-secondary);
    color: var(--text-light) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile hamburger menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    transition: var(--transition-normal);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }

.nav-toggle.open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ==========================================================================
   COMMON DESIGN COMPONENTS
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-accent:hover {
    background-color: var(--color-accent);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Inner page hero */
.page-hero {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: calc(var(--header-height) + 2rem) 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 80%);
    pointer-events: none;
}

.page-hero h1 {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-hero p {
    color: var(--text-light-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 6.5rem 2rem;
}

.section-bg {
    background-color: var(--bg-secondary);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--color-secondary);
    display: inline-block;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.25rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    max-width: 650px;
    margin: 0 auto 1rem;
}

.section-description {
    max-width: 550px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ==========================================================================
   HOME PAGE
   ========================================================================== */

/* Hero Section */
.hero {
    min-height: 100vh;
    background-color: var(--bg-dark);
    position: relative;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 2rem) 2rem 4rem;
    overflow: hidden;
}

/* (Removed the white bottom fade — it washed out the hero trust numbers over
   the photo background.) */

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-content {
    color: var(--text-light);
}

.hero-tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-tag span {
    width: 8px;
    height: 8px;
    background-color: var(--color-success);
    border-radius: 50%;
    display: inline-block;
    animation: pulseGlow 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--color-accent);
    font-weight: 700;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-btn-primary {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.hero-btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--text-light);
}

.hero-btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.hero-btn-secondary:hover {
    border-color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
}

.trust-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* [AI_EDITABLE]: HERO VISUAL DECORATION */
.hero-visual-card {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-visual-card img {
    width: 100%;
    height: 100%;
    object-position: center;
}

.hero-badge-floating {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 250px;
    animation: floatAnim 4s ease-in-out infinite;
}

.badge-floating-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    background-color: var(--color-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.badge-floating-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.badge-floating-text p {
    font-size: 0.75rem;
    margin: 0;
}

/* Home featured services grid */
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.about-content-left {
    display: flex;
    flex-direction: column;
}

.about-highlight-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.values-list {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
}

.value-icon {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-top: 0.2rem;
}

.value-item h4 {
    margin-bottom: 0.25rem;
}

.value-item p {
    font-size: 0.85rem;
    margin: 0;
}

.about-visual-right {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 420px; /* holds height when filled with a photo background */
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: calc(var(--radius-lg) - 10px);
    pointer-events: none;
    z-index: 2;
}

/* Animated stat counters */
.stats-section {
    background-color: var(--color-secondary); /* brand gold — distinct from the dark footer */
    color: #1f1f1f;
    padding: 5rem 2rem;
}

.stats-section .stat-card h3 {
    color: #1f1f1f;
}

.stats-section .stat-card p {
    color: rgba(31, 31, 31, 0.72);
}

.stats-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */

/* Service cards */
.service-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* [AI_EDITABLE]: SERVICE CARD COMPONENT */
.service-detail-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.service-card-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-detail-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--color-primary);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.service-card-content {
    padding: 2.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-features {
    margin: 1.5rem 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.feature-check svg {
    color: var(--color-success);
    flex-shrink: 0;
}

.service-card-cta {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-price-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.service-price-tag span {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.service-read-more {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
}

.service-read-more:hover {
    gap: 0.75rem;
}

/* FAQ accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
}

.faq-trigger h4 {
    margin: 0;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.faq-trigger:hover h4 {
    color: var(--color-secondary);
}

.faq-icon {
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-normal);
    opacity: 0;
}

.faq-content p {
    padding-top: 1rem;
    margin: 0;
}

.faq-item.active .faq-content {
    /* JS sets an exact max-height inline; this is a safe fallback if JS is off. */
    max-height: 600px;
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   GALLERY PAGE
   ========================================================================== */

/* Filter buttons */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-primary);
    color: var(--text-light);
    border-color: var(--color-primary);
}

/* Masonry-style grid */
/* [AI_EDITABLE]: GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-auto-rows: 240px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

/* Asymmetric masonry effect for CSS grid */
.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    transition: var(--transition-normal);
    z-index: 2;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h4 {
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-size: 1.15rem;
}

.gallery-info p {
    color: var(--text-light-secondary);
    font-size: 0.8rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Styled lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    padding: 2rem;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: var(--transition-normal);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.lightbox-nav:hover {
    background-color: var(--color-primary);
}

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

/* Info cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    display: flex;
    gap: 1.25rem;
    transition: var(--transition-normal);
}

.info-card:hover {
    border-color: var(--color-accent);
    transform: translateX(5px);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background-color: var(--color-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-card-text h4 {
    margin-bottom: 0.35rem;
}

.info-card-text p, .info-card-text a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* [AI_EDITABLE]: BUSINESS HOURS BADGE */
.badge-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.badge-status.open {
    background-color: rgba(43, 138, 62, 0.1);
    color: var(--color-success);
}

.badge-status.closed {
    background-color: rgba(201, 42, 42, 0.1);
    color: var(--color-error);
}

/* Payment methods */
.payment-methods-box {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.payment-methods-box h4 {
    margin-bottom: 1rem;
}

.payment-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-icon-item {
    background-color: var(--bg-tertiary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-icon-item svg {
    width: 20px;
    height: 20px;
}

/* Free estimates banner */
.free-estimates-banner {
    background-color: var(--color-primary);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.free-estimates-banner::after {
    content: '%';
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 7rem;
    font-weight: 900;
    opacity: 0.05;
    transform: rotate(15deg);
}

.free-estimates-banner h4 {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.free-estimates-banner p {
    color: var(--text-light-secondary);
    font-size: 0.85rem;
    margin: 0;
}

/* Form */
.contact-form-box {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--color-primary);
    background-color: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.form-response {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 550;
    display: none;
}

.form-response.success {
    display: block;
    background-color: rgba(43, 138, 62, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(43, 138, 62, 0.2);
}

.form-response.error {
    display: block;
    background-color: rgba(201, 42, 42, 0.1);
    color: var(--color-error);
    border: 1px solid rgba(201, 42, 42, 0.2);
}

/* Map */
.map-section {
    padding: 0;
    height: 450px;
    border-top: 1px solid var(--border-color);
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1);
    transition: var(--transition-slow);
}

.map-container iframe:hover {
    filter: grayscale(0);
}

/* ==========================================================================
   FLOATING CONTACT WIDGETS
   ========================================================================== */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    z-index: 999;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    position: relative;
    transition: var(--transition-normal);
    text-decoration: none;
}

.float-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* [AI_EDITABLE]: FLOATING BUTTON COLORS */
.float-whatsapp {
    background-color: #25d366;
}

.float-whatsapp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: inherit;
    opacity: 0.4;
    z-index: -1;
    animation: pulseBubble 2s infinite;
}

.float-whatsapp:hover {
    background-color: #1ebe5d;
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.float-call {
    background-color: var(--color-primary);
}

.float-call:hover {
    background-color: var(--color-secondary);
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* The phone icon is stroke-based, so render it with a stroke (not fill). */
.float-call svg {
    fill: none !important;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.float-mail {
    background-color: #ea4335;
}

.float-mail:hover {
    background-color: #d33426;
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.4);
}

.float-mail svg,
.social-link.social-mail svg {
    fill: none !important;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.float-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.float-instagram:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

.float-facebook {
    background-color: #1877f2;
}

.float-facebook:hover {
    background-color: #166fe5;
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

/* Tooltips */
.float-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 64px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.float-btn:hover::after {
    opacity: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light-secondary);
    padding: 5rem 2rem 2rem;
    border-top: 4px solid var(--color-primary);
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 0.9fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--text-muted);
}

.footer-col p {
    color: var(--text-light-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col-logo .logo {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.footer-col-logo .logo-icon {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Quick links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-light-secondary);
}

.footer-links a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

/* Contact Us Column */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact-item svg {
    color: var(--text-muted);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-contact-item a:hover {
    color: var(--text-light);
}

/* Column Payment Methods */
.footer-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.footer-payment-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-light-secondary);
}

.footer-payment-card svg {
    width: 16px;
    height: 16px;
}

/* Copyright Bar */
.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--text-light);
}

/* ==========================================================================
   UTILITIES & SHARED COMPONENT HELPERS
   (classes used across pages to avoid inline styles)
   ========================================================================== */

/* Accessibility: skip-to-content link (visible only when focused) */
.skip-link {
    position: absolute;
    left: 0;
    top: -60px;
    z-index: 2000;
    background: var(--color-primary);
    color: var(--text-light);
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--radius-md) 0;
    font-weight: 600;
    transition: top var(--transition-fast);
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--color-accent);
}

/* Logo: the lighter second word (e.g. "CONCRETE") — brand gold */
.logo-light {
    font-weight: 400;
    color: var(--color-accent);
}

/* About page "Recent Work" photo grid */
.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-auto-rows: 200px;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* About "What We Build" chips */
.build-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
}
.build-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition-fast);
}
.build-item:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.build-item::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: var(--color-accent);
    flex-shrink: 0;
}

/* Subtitle variant placed over a dark background */
.section-subtitle--on-dark {
    color: var(--text-light-secondary);
    border-bottom-color: var(--text-light);
}

/* Centered call-to-action row under a grid */
.center-cta {
    text-align: center;
    margin-top: 3.5rem;
}

/* Hero trust separators (replaces old inline borders) */
.hero-trust .trust-item + .trust-item {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
}

/* Home summary gallery: 4 uniform photo tiles (cropped to fit) */
.home-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
}

/* Masonry gallery (gallery page): shows full photos of any orientation,
   no cropping — solves mixed portrait/landscape layouts. */
.gallery-masonry {
    columns: 3 300px;
    column-gap: 1.5rem;
}

.gallery-masonry .gallery-item {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    break-inside: avoid;
    transition: var(--transition-normal);
}

.gallery-masonry .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.gallery-masonry .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-masonry .gallery-item:hover img {
    transform: scale(1.04);
}

/* Button sizes / variants */
.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
}
.btn-block {
    width: 100%;
    padding: 1rem 2rem;
}
.btn-on-light {
    background-color: var(--text-light);
    color: var(--color-primary);
}
.btn-on-light:hover {
    background-color: var(--color-accent);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-outline-light {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-light);
}
.btn-outline-light:hover {
    border-color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Home page dark call-to-action banner */
.home-cta {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), url('../gallery/imagen%20(3).jpg') center/cover no-repeat;
    color: var(--text-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.home-cta-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    margin-bottom: 1rem;
}
.home-cta-title {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.home-cta-text {
    color: var(--text-light-secondary);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
}
.home-cta-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Icon/value cards (About values, generic centered cards) */
.icon-card {
    padding: 2.5rem;
    text-align: center;
}
.icon-card-emoji {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}
.icon-card-text {
    font-size: 0.95rem;
    margin: 0;
}

/* Services "process" step cards */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.step-card {
    padding: 2.25rem;
}
.step-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}
.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 1rem;
}

/* Contact page helpers */
.contact-side-title {
    margin: 0 0 2.5rem;
    text-align: left;
}
.info-card-link {
    font-weight: 600;
    color: var(--color-primary);
}
.info-card-sub {
    font-size: 0.8rem;
}
.info-card-hours {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.form-box-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}
.form-box-intro {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Anti-spam honeypot: hidden from real users, off-screen */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Form submit spinner */
.spinner {
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   KEY ANIMATIONS
   ========================================================================== */
@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(43, 138, 62, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(43, 138, 62, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(43, 138, 62, 0); }
}

@keyframes pulseBubble {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes floatAnim {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }
    .hero-title { font-size: 2.75rem; }
    .hero-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-visual-right { max-width: 500px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .service-showcase-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 600px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .section { padding: 5rem 1.5rem; }
    .section-title { font-size: 1.85rem; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 92px;
    }

    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.55rem; }
    h3 { font-size: 1.25rem; }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2.5rem 0;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.5rem 2rem;
        font-size: 1.25rem;
        border-bottom: none;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-cta {
        margin-top: 1.5rem;
        width: 80%;
    }

    .section {
        padding: 4rem 1.25rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.55rem;
        max-width: 100%;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .page-hero {
        padding: 7rem 1.5rem 3rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 0.9rem;
    }

    .hero {
        padding: 6rem 1.25rem 3rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .hero-trust {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem;
    }

    .hero-trust .trust-item {
        border-left: none !important;
        padding-left: 0 !important;
    }

    .trust-number {
        font-size: 1.6rem;
    }

    .about-highlight-text {
        font-size: 1.1rem;
    }

    .values-list {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .stat-card h3 {
        font-size: 2.5rem;
    }

    .service-card-features {
        grid-template-columns: 1fr;
    }

    .service-card-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .faq-trigger h4 {
        font-size: 1rem;
        padding-right: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    
    .gallery-item.wide {
        grid-column: span 1;
    }
    
    .gallery-item.tall {
        grid-row: span 1;
    }
    
    .lightbox-prev, .lightbox-next {
        display: none;
    }
    
    .lightbox-content {
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-box {
        padding: 1.75rem;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .info-card:hover {
        transform: none;
    }

    .payment-icons {
        justify-content: center;
    }

    .free-estimates-banner {
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col-logo .logo,
    .footer-social-links {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-contact-list {
        align-items: center;
    }

    .footer-contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-payment-grid {
        max-width: 260px;
        margin: 0 auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .floating-widgets {
        bottom: 16px;
        right: 16px;
        gap: 0.6rem;
    }

    .float-btn {
        width: 46px;
        height: 46px;
    }

    .float-btn svg {
        width: 22px;
        height: 22px;
    }

    .float-btn::after {
        display: none;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.65rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }
}

/* Responsive tweaks for the new shared components */
@media (max-width: 768px) {
    .logo-img {
        height: 68px;
    }
    .logo--footer .logo-img {
        height: 120px;
    }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .home-cta {
        padding: 2rem 1.5rem;
    }
    .home-cta-title {
        font-size: 1.6rem;
    }
    .contact-side-title {
        text-align: center;
    }
}

/* ==========================================================================
   REDUCED MOTION (accessibility)
   Honor the OS setting for users who prefer minimal animation.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
