/* ============================================
   Neumáticos Fons — Custom Styles
   ============================================ */

/* --- Base & Utilities --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 0;
}

body {
    min-height: 100vh;
    display: flex;
}

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

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

/* --- Section Base --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #C0603A;
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(192, 96, 58, 0.08);
    border-radius: 100px;
}

.section-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: #2D2A26;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: #6D6359;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #C0603A;
    color: #FDF9F3;
    box-shadow: 0 4px 16px rgba(192, 96, 58, 0.35);
}

.btn-primary:hover {
    background: #a84e2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 96, 58, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2D2A26;
    border: 2px solid #E0BC8E;
}

.btn-secondary:hover {
    background: #F5E6D3;
    border-color: #C0603A;
    color: #C0603A;
}

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

/* ============================================
   SIDE NAVIGATION (Desktop)
   ============================================ */
.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 88px;
    height: 100vh;
    background: #2D2A26;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.side-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 24px 0;
    justify-content: space-between;
}

.side-nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    margin-bottom: 8px;
}

.side-nav-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 0.75rem;
    color: #F5E6D3;
    text-align: center;
    line-height: 1.4;
    margin-top: 8px;
    letter-spacing: 0.02em;
}

.side-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    width: 100%;
    padding: 16px 0;
}

.side-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto;
    border-radius: 14px;
    color: #D4CCC4;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}

.side-nav-link:hover,
.side-nav-link.active {
    background: rgba(192, 96, 58, 0.2);
    color: #F5C4A8;
}

.side-nav-link.active::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: #C0603A;
    border-radius: 0 4px 4px 0;
}

.side-nav-footer {
    padding-bottom: 8px;
}

.side-nav-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #8A7E72;
    text-decoration: none;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.25s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    padding: 8px 0;
}

.side-nav-phone:hover {
    color: #F5C4A8;
}

.side-nav-phone svg {
    transform: rotate(180deg);
    opacity: 0.6;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    margin-left: 88px;
    flex: 1;
    min-height: 100vh;
    width: calc(100% - 88px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #FDF9F3 0%, #FAE0D0 50%, #F5E6D3 100%);
    overflow: hidden;
    position: relative;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(192, 96, 58, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(224, 188, 142, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #C0603A;
    background: rgba(192, 96, 58, 0.1);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    color: #2D2A26;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title em {
    color: #C0603A;
    font-style: italic;
}

.hero-description {
    font-size: 1.0625rem;
    color: #6D6359;
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: #C0603A;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: #8A7E72;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: #E0BC8E;
    border-radius: 1px;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(45, 42, 38, 0.15);
}

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

.hero-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: #C0603A;
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

.hero-floating-card {
    position: absolute;
    bottom: 32px;
    left: -32px;
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(45, 42, 38, 0.12);
    z-index: 2;
}

.hero-floating-icon {
    width: 44px;
    height: 44px;
    background: rgba(192, 96, 58, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C0603A;
    flex-shrink: 0;
}

.hero-floating-card strong {
    display: block;
    font-size: 0.875rem;
    color: #2D2A26;
}

.hero-floating-card span {
    font-size: 0.75rem;
    color: #8A7E72;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: #FDF9F3;
}

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

.service-card {
    background: white;
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(224, 188, 142, 0.3);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C0603A, #E0BC8E);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(192, 96, 58, 0.1);
    border-color: rgba(192, 96, 58, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(192, 96, 58, 0.1), rgba(224, 188, 142, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C0603A;
    margin-bottom: 20px;
    transition: all 0.35s ease;
}

.service-card:hover .service-icon {
    background: #C0603A;
    color: white;
    transform: scale(1.05);
}

.service-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: #2D2A26;
    margin-bottom: 10px;
}

.service-description {
    font-size: 0.9375rem;
    color: #6D6359;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #C0603A;
    text-decoration: none;
    transition: gap 0.25s ease;
}

.service-link:hover {
    gap: 10px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: linear-gradient(180deg, #FDF9F3 0%, #FAE0D0 100%);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 56px rgba(45, 42, 38, 0.12);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -24px;
    width: 55%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(45, 42, 38, 0.15);
    border: 4px solid #FDF9F3;
}

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

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: #C0603A;
    color: white;
    border-radius: 20px;
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(192, 96, 58, 0.35);
    z-index: 2;
}

.about-exp-number {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 4px;
}

.about-exp-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.about-content {
    padding: 16px 0;
}

.about-text {
    font-size: 1rem;
    color: #6D6359;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.about-value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-value-icon {
    width: 48px;
    height: 48px;
    background: rgba(192, 96, 58, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C0603A;
    flex-shrink: 0;
}

.about-value strong {
    display: block;
    font-size: 0.9375rem;
    color: #2D2A26;
    margin-bottom: 2px;
}

.about-value span {
    font-size: 0.875rem;
    color: #8A7E72;
    line-height: 1.5;
}

/* ============================================
   SCHEDULE SECTION
   ============================================ */
.schedule-section {
    background: #FDF9F3;
}

.schedule-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(45, 42, 38, 0.08);
}

.schedule-content {
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
}

.schedule-table {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
}

.schedule-row {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #F0E8DF;
    gap: 16px;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-day {
    font-weight: 600;
    color: #2D2A26;
    font-size: 0.9375rem;
}

.schedule-hours {
    color: #6D6359;
    font-size: 0.9375rem;
}

.schedule-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.schedule-status.open {
    background: rgba(76, 175, 80, 0.1);
    color: #388E3C;
}

.schedule-status.closed {
    background: rgba(141, 110, 90, 0.1);
    color: #8D6E5A;
}

.schedule-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #8A7E72;
    margin-top: auto;
    padding-top: 16px;
}

.schedule-visual {
    position: relative;
    min-height: 100%;
}

.schedule-map-placeholder {
    position: relative;
    height: 100%;
    min-height: 480px;
}

.schedule-map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 28px 28px 0;
}

.schedule-map-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: white;
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(45, 42, 38, 0.15);
    font-weight: 600;
    font-size: 0.875rem;
    color: #2D2A26;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: linear-gradient(180deg, #FAE0D0 0%, #FDF9F3 100%);
}

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

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-detail-icon {
    width: 52px;
    height: 52px;
    background: rgba(192, 96, 58, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C0603A;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.9375rem;
    color: #2D2A26;
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9375rem;
    color: #6D6359;
    text-decoration: none;
    line-height: 1.6;
}

.contact-detail a:hover {
    color: #C0603A;
}

.contact-map {
    margin-top: 8px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(45, 42, 38, 0.08);
}

.contact-form-wrapper {
    position: sticky;
    top: 40px;
}

.contact-form-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 12px 48px rgba(45, 42, 38, 0.08);
}

.contact-form-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: #2D2A26;
    margin-bottom: 6px;
}

.contact-form-subtitle {
    font-size: 0.9375rem;
    color: #8A7E72;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2D2A26;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #EDE8E3;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #2D2A26;
    background: #FDF9F3;
    transition: all 0.25s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #C0603A;
    background: white;
    box-shadow: 0 0 0 4px rgba(192, 96, 58, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B8AFA6;
}

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

.form-success {
    text-align: center;
    padding: 32px 16px;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #388E3C;
}

.form-success-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.375rem;
    color: #2D2A26;
    margin-bottom: 8px;
}

.form-success-text {
    font-size: 0.9375rem;
    color: #6D6359;
    line-height: 1.6;
}

.form-success-text a {
    color: #C0603A;
    font-weight: 600;
    text-decoration: none;
}

.form-success-text a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #2D2A26;
    color: #D4CCC4;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #F5E6D3;
    margin-bottom: 16px;
}

.footer-logo span {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: #8A7E72;
    line-height: 1.7;
    max-width: 300px;
}

.footer-heading {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #F5E6D3;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: #8A7E72;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #F5C4A8;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9375rem;
    color: #8A7E72;
    line-height: 1.7;
}

.footer-contact a {
    color: #F5C4A8;
    text-decoration: none;
    transition: color 0.25s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 211, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: #6D6359;
}

/* ============================================
   MOBILE HEADER
   ============================================ */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #2D2A26;
    padding: 0 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.mobile-header-inner {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #F5E6D3;
}

.mobile-logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
}

.menu-toggle {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px;
}

.menu-bar {
    width: 22px;
    height: 2px;
    background: #F5E6D3;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 199;
}

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

.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.mobile-menu-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: #2D2A26;
    padding: 80px 32px 40px;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-link {
    display: block;
    padding: 14px 16px;
    color: #D4CCC4;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    background: rgba(192, 96, 58, 0.15);
    color: #F5C4A8;
}

.mobile-menu-contact {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(245, 230, 211, 0.1);
}

.mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: #C0603A;
    color: white;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background 0.25s ease;
}

.mobile-call-btn:hover {
    background: #a84e2e;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .side-nav {
        display: none;
    }

    .mobile-header {
        display: block;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        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: 480px;
        margin: 0 auto;
    }

    .hero-floating-card {
        left: 16px;
        bottom: 16px;
    }

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

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

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

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

    .schedule-visual {
        min-height: 280px;
    }

    .schedule-map-placeholder img {
        border-radius: 0 0 28px 28px;
    }

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

    .contact-form-wrapper {
        position: static;
    }

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

@media (max-width: 640px) {
    .section {
        padding: 64px 0;
    }

    .container {
        padding: 0 16px;
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2.125rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 16px;
        display: inline-flex;
    }

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

    .service-card {
        padding: 28px 24px;
    }

    .about-img-secondary {
        right: -8px;
        bottom: -24px;
    }

    .about-experience-badge {
        right: 16px;
        top: -12px;
    }

    .schedule-content {
        padding: 32px 24px;
    }

    .schedule-row {
        grid-template-columns: 80px 1fr auto;
        gap: 8px;
        padding: 10px 0;
    }

    .contact-form-card {
        padding: 28px 20px;
    }

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

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