/* ========================================
   RAZO OPTICAL EXPRESS - STYLESHEET
   ======================================== */

/* CSS Custom Properties */
:root {
    --terracotta: #C75B39;
    --terracotta-dark: #A84828;
    --terracotta-light: #E8735A;
    --sand: #F5E6D3;
    --sand-light: #FDF6EE;
    --sand-dark: #E8D5C0;
    --charcoal: #2D2A26;
    --charcoal-light: #4A4540;
    --white: #FFFFFF;
    --off-white: #FAFAF8;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(45, 42, 38, 0.08);
    --shadow-md: 0 4px 20px rgba(45, 42, 38, 0.12);
    --shadow-lg: 0 8px 40px rgba(45, 42, 38, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--sand-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-accent {
    color: var(--terracotta);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(199, 91, 57, 0.35);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(199, 91, 57, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--charcoal);
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: var(--white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 246, 238, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sand-dark);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--charcoal);
}

.logo-icon {
    color: var(--terracotta);
}

.logo-light {
    color: var(--white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--charcoal-light);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--terracotta);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--terracotta);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--terracotta-dark);
    color: var(--white) !important;
    transform: translateY(-1px);
}

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

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

.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);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--sand-light);
    padding: 24px;
    border-bottom: 2px solid var(--sand-dark);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-link {
    display: block;
    padding: 12px 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--charcoal);
    border-bottom: 1px solid var(--sand-dark);
}

.mobile-link:last-child {
    border-bottom: none;
}

.mobile-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    background: var(--terracotta);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--sand-light);
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--sand-dark);
    top: -100px;
    right: -100px;
    opacity: 0.6;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--terracotta);
    opacity: 0.08;
    bottom: 20%;
    left: 5%;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: var(--terracotta-light);
    opacity: 0.1;
    top: 30%;
    left: 15%;
    transform: rotate(15deg);
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid var(--terracotta);
    opacity: 0.06;
    bottom: 25%;
    right: 10%;
}

.shape-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--terracotta) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.3;
    top: 20%;
    right: 25%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--terracotta);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--terracotta);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--charcoal);
}

.hero-underline {
    display: block;
    width: 80px;
    height: 4px;
    background: var(--terracotta);
    border-radius: 2px;
    margin-top: 16px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--terracotta);
    border-radius: var(--radius-md);
    opacity: 0.2;
}

.hero-stats {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.stat-card {
    flex: 1;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stat-card-accent {
    background: var(--terracotta);
    color: var(--white);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--terracotta);
}

.stat-card-accent .stat-number {
    color: var(--white);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--charcoal-light);
}

.stat-card-accent .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: var(--terracotta);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--charcoal-light);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--sand);
    position: relative;
}

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

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--terracotta);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card-accent {
    background: var(--terracotta);
    color: var(--white);
}

.service-card-accent h3,
.service-card-accent p {
    color: var(--white);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    color: var(--terracotta);
}

.service-card-accent .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--charcoal-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--sand-light);
    position: relative;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.about-shape {
    position: absolute;
    border-radius: 50%;
}

.about-shape-1 {
    width: 300px;
    height: 300px;
    background: var(--sand-dark);
    top: -50px;
    right: -50px;
    opacity: 0.5;
}

.about-shape-2 {
    width: 150px;
    height: 150px;
    background: var(--terracotta);
    opacity: 0.05;
    bottom: 10%;
    left: 5%;
}

.about-shape-3 {
    width: 80px;
    height: 80px;
    background: var(--terracotta-light);
    opacity: 0.1;
    top: 40%;
    left: 10%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-text {
    color: var(--charcoal-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--charcoal);
}

.feature-check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracotta);
    border-radius: 50%;
    color: var(--white);
    flex-shrink: 0;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--sand-light);
}

.about-image-secondary img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.about-floating-card {
    position: absolute;
    top: 40px;
    left: -20px;
    background: var(--terracotta);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-floating-card .floating-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-floating-card .floating-text {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Frames Section */
.frames {
    padding: 100px 0;
    background: var(--white);
}

.frames-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 20px;
    margin-bottom: 60px;
}

.frame-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

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

.frame-item:hover img {
    transform: scale(1.05);
}

.frame-item-large {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
}

.frame-item-wide {
    grid-column: 6 / 13;
    grid-row: 2;
}

.frame-item:not(.frame-item-large):not(.frame-item-wide) {
    grid-column: span 6;
}

.frame-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 42, 38, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

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

.frame-tag {
    display: inline-block;
    background: var(--terracotta);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 8px;
}

.frame-overlay h3 {
    color: var(--white);
    font-size: 1.25rem;
}

.frames-cta {
    text-align: center;
    background: var(--sand);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.frames-cta p {
    font-size: 1.1rem;
    color: var(--charcoal-light);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--sand);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card-accent {
    background: var(--terracotta);
    color: var(--white);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: var(--terracotta);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 24px;
}

.testimonial-card-accent .testimonial-quote {
    color: var(--white);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal-light);
    margin-bottom: 24px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-card-accent .testimonial-text {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand);
    border-radius: 50%;
    color: var(--terracotta);
}

.testimonial-card-accent .author-avatar {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--charcoal);
}

.testimonial-card-accent .author-name {
    color: var(--white);
}

.author-location {
    font-size: 0.8rem;
    color: var(--charcoal-light);
}

.testimonial-card-accent .author-location {
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--sand-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-text {
    color: var(--charcoal-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

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

.contact-text-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--charcoal-light);
    font-weight: 600;
}

.contact-text-content a,
.contact-text-content span {
    font-size: 1rem;
    color: var(--charcoal);
    font-weight: 500;
}

.contact-text-content a:hover {
    color: var(--terracotta);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--charcoal);
    background: var(--sand-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    background: var(--white);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--terracotta);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--charcoal-light);
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 350px;
    filter: grayscale(30%);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--terracotta);
    opacity: 0.05;
    top: -100px;
    right: -100px;
}

.footer-shape-2 {
    width: 200px;
    height: 200px;
    background: var(--sand);
    bottom: -50px;
    left: -50px;
    opacity: 0.03;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--terracotta-light);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Scroll Reveal Animation */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-underline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        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 {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .frames-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .frame-item-large {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    
    .frame-item-wide {
        grid-column: 1 / -1;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .frames-grid {
        grid-template-columns: 1fr;
    }
    
    .frame-item-large,
    .frame-item-wide,
    .frame-item:not(.frame-item-large):not(.frame-item-wide) {
        grid-column: 1;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-image-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
