/* ============================================
   ASESORÍA ALMASSERA — Custom Styles
   Bold Editorial Design | Teal + Slate Palette
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    --container-max: 1200px;
    --section-padding: clamp(4rem, 10vw, 8rem);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--slate-900);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    letter-spacing: -0.01em;
}

p {
    color: var(--slate-600);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.text-teal {
    color: var(--teal-700);
}

.text-white {
    color: #ffffff;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--teal-700);
    color: #ffffff;
    border-color: var(--teal-700);
}

.btn-primary:hover {
    background-color: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(15, 118, 110, 0.3);
}

.btn-ghost {
    background-color: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}

.btn-ghost:hover {
    border-color: var(--teal-700);
    color: var(--teal-700);
}

.btn-white {
    background-color: #ffffff;
    color: var(--teal-800);
    border-color: #ffffff;
}

.btn-white:hover {
    background-color: var(--teal-50);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.75rem;
}

/* --- Tag / Label --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.tag-line {
    width: 2rem;
    height: 2px;
    background-color: var(--teal-600);
    display: inline-block;
    flex-shrink: 0;
}

.section-tag span {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-700);
}

.section-header {
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-description {
    max-width: 560px;
    font-size: 1.125rem;
}

.section-header.center .section-description {
    margin: 0 auto;
}

/* --- Header / Navbar --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-100);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--teal-700);
    border-radius: var(--radius-sm);
    position: relative;
    flex-shrink: 0;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 2px;
}

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

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-600);
    position: relative;
}

.nav-menu a:not(.btn):hover {
    color: var(--teal-700);
}

.nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--teal-600);
    transition: var(--transition);
}

.nav-menu a:not(.btn):hover::after {
    width: 100%;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--slate-700);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    padding-top: calc(72px + clamp(3rem, 8vw, 6rem));
    padding-bottom: clamp(3rem, 6vw, 5rem);
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, var(--teal-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(15, 118, 110, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-tag .tag-line {
    width: 3rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--teal-700);
}

.hero-description {
    font-size: 1.1875rem;
    color: var(--slate-600);
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    padding-top: 2.5rem;
    border-top: 1px solid var(--slate-200);
}

.stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-700);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--slate-200);
    flex-shrink: 0;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
}

.image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--teal-700);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.15;
}

/* --- Trust Bar --- */
.trust-bar {
    background-color: var(--slate-900);
    padding: 2rem 0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--slate-300);
    font-size: 0.9375rem;
    font-weight: 500;
}

.trust-item svg {
    color: var(--teal-400);
    flex-shrink: 0;
}

/* --- Services --- */
.services {
    padding: var(--section-padding) 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--teal-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: 0 12px 40px rgba(15, 118, 110, 0.08);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-700);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--teal-700);
    color: #ffffff;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3125rem;
}

.service-card > p {
    font-size: 0.9375rem;
    color: var(--slate-600);
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

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

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-600);
}

.service-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    background-color: var(--teal-500);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- About --- */
.about {
    padding: var(--section-padding) 0;
    background-color: var(--slate-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 52/62;
}

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border: 4px solid #ffffff;
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: var(--teal-700);
    color: #ffffff;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 118, 110, 0.3);
}

.badge-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-text {
    margin-bottom: 1rem;
}

.about-text:last-of-type {
    margin-bottom: 2.5rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.value-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--teal-50);
    border-radius: var(--radius-sm);
    color: var(--teal-700);
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.value-item span {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.5;
}

/* --- Process --- */
.process {
    padding: var(--section-padding) 0;
    background-color: #ffffff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--teal-100);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.process-step h3 {
    font-size: 1.1875rem;
    margin-bottom: 0.75rem;
    color: var(--slate-900);
}

.process-step p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.65;
}

.process-connector {
    position: absolute;
    top: 2.75rem;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-200), var(--teal-400));
}

.process-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--teal-400);
    border-right: 2px solid var(--teal-400);
    transform: rotate(45deg);
}

/* --- CTA Section --- */
.cta-section {
    padding: clamp(4rem, 10vw, 7rem) 0;
    background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 50%, var(--teal-800) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
}

.cta-content > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- Contact --- */
.contact {
    padding: var(--section-padding) 0;
    background-color: var(--slate-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-description {
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-700);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-400);
    margin-bottom: 0.25rem;
}

.contact-item span,
.contact-item a {
    font-size: 1rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--teal-700);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--slate-100);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 0.9375rem;
    color: var(--slate-500);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background-color: var(--slate-50);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-legal .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: var(--slate-500);
    cursor: pointer;
}

.form-legal input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--teal-600);
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

.form-legal a {
    color: var(--teal-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    padding: 2rem;
    background-color: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-800);
}

.form-success svg {
    color: var(--teal-600);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--teal-800);
}

/* --- Footer --- */
.footer {
    background-color: var(--slate-950);
    color: var(--slate-400);
    padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--slate-800);
}

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-200);
    margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9375rem;
    color: var(--slate-400);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

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

.footer-legal a {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.footer-legal a:hover {
    color: var(--teal-400);
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .process-connector {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a:not(.btn) {
        font-size: 1.125rem;
    }

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .about-image-secondary {
        right: -10px;
        bottom: -15px;
    }

    .about-badge {
        left: -10px;
        top: -10px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .trust-items {
        grid-template-columns: 1fr;
    }

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

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Overlay for mobile menu */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}
