:root {
    --brand-red: #D62828;
    --brand-blue: #007BFF;
    --white: #FFFFFF;
    --dark-grey: #333333;
    --light-grey: #F8F8F8;
    --grey-border: #E0E0E0;
    --text-dark: #333333;
    --text-light: #666666;
    
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

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

a:hover {
    color: var(--brand-red);
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
}

.desktop-nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 5px 0;
    position: relative;
}

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hablamos-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-blue);
    text-decoration: none;
    position: relative;
}

.hablamos-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--brand-blue);
    transition: width var(--transition-fast);
}

.hablamos-link:hover::after {
    width: 100%;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-call-strip {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    background: var(--light-grey);
    border-top: 1px solid var(--grey-border);
}

.call-button {
    display: inline-block;
    padding: 8px 20px;
    background: var(--brand-red);
    color: var(--white);
    font-weight: 600;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.call-button:hover {
    background: #b82020;
    color: var(--white);
}

.hablamos-mobile {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-blue);
}

.desktop-cta {
    display: none;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--grey-border);
}

.mobile-nav-header .logo {
    height: 50px;
}

.close-button {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 5px;
}

.mobile-nav {
    padding: 30px 20px;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-link {
    display: block;
    padding: 15px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid var(--grey-border);
}

.mobile-nav-link.active {
    color: var(--brand-blue);
}

.mobile-nav-cta {
    margin-top: 30px;
}

.mobile-nav-cta-btn {
    display: block;
    text-align: center;
    padding: 15px;
}

.mobile-nav-footer {
    margin-top: 30px;
    text-align: center;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--brand-blue);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.cta-button:hover {
    background: #0069d9;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
}

.cta-button.secondary:hover {
    background: var(--brand-blue);
    color: var(--white);
}

.cta-light {
    background: var(--white);
    color: var(--brand-blue);
}

.cta-light:hover {
    background: var(--light-grey);
    color: var(--brand-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../../images/hero_background.png') center/cover no-repeat;
    padding-top: 120px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.4s both, pulse 2s ease-in-out 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(0, 123, 255, 0);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Introduction Section */
.intro-section {
    background: var(--light-grey);
    padding: 80px 0;
}

.intro-grid {
    display: grid;
    gap: 30px;
}

.intro-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.intro-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.intro-card h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--brand-blue);
}

.intro-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    color: var(--brand-blue);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--brand-red);
}

/* Section Divider */
.section-divider {
    padding: 0;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-line {
    width: 100%;
    height: 10px;
}

/* Practice Areas Section */
.practice-areas-section {
    padding: 80px 0;
}

.practice-grid {
    display: grid;
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--grey-border);
    text-align: center;
    transition: all var(--transition-fast);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.learn-more {
    font-weight: 600;
    color: var(--brand-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learn-more .arrow {
    display: inline-block;
    transition: transform var(--transition-fast);
}

.service-card:hover .arrow {
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    background: var(--light-grey);
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../images/testimonial_bg.png') center/cover no-repeat;
    opacity: 0.1;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.testimonial-card blockquote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--brand-blue);
    font-style: normal;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: var(--brand-blue);
    color: var(--white);
    border-color: var(--brand-blue);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--grey-border);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background: var(--brand-blue);
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
    background: var(--white);
}

.benefits-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--grey-border);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s ease-out forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
.benefit-item:nth-child(5) { animation-delay: 0.5s; }
.benefit-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--brand-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.benefit-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.benefit-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.why-choose-cta {
    text-align: center;
    margin-top: 40px;
}

/* CTA Section */
.cta-section {
    position: relative;
    background: var(--brand-red);
    padding: 100px 0;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Footer */
.footer {
    background: var(--dark-grey);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 700;
}

.footer-about .footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-mission {
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 15px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links ul,
.footer-practice ul {
    list-style: none;
}

.footer-links li,
.footer-practice li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-practice a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-practice a:hover {
    color: var(--white);
}

.footer-contact address {
    font-style: normal;
}

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

.footer-contact a {
    color: var(--brand-blue);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.trust-badges {
    display: flex;
    gap: 15px;
}

.trust-badge {
    height: 40px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.social-links a:hover .social-icon {
    background: var(--brand-blue);
}

.legal-info {
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

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

.legal-links a:hover {
    color: var(--white);
}

.disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 0 auto;
}

/* About Page Specific Styles */
.hero-about {
    background: url('../../images/team_photo_composite.png') center/cover no-repeat;
}

.hero-services {
    background: url('../../images/legal_abstract_red.png') center/cover no-repeat;
}

.hero-testimonials {
    background: url('../../images/testimonial_bg.png') center/cover no-repeat;
}

.hero-contact {
    background: url('../../images/hero_background.png') center/cover no-repeat;
}

/* History Section */
.history-section {
    padding: 80px 0;
    background: var(--white);
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.history-content h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.history-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.mission-statement {
    margin-top: 40px;
    padding: 30px;
    background: var(--light-grey);
    border-left: 4px solid var(--brand-blue);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--light-grey);
}

.team-grid {
    display: grid;
    gap: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

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

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 30px;
}

.team-info h3 {
    color: var(--brand-blue);
    margin-bottom: 5px;
}

.team-title {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-bio {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.value-card:hover {
    background: var(--light-grey);
}

.value-card:hover .value-icon {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--brand-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all var(--transition-fast);
}

.value-card h3 {
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-light);
}

/* Services Overview */
.services-overview-section {
    padding: 80px 0;
    background: var(--light-grey);
}

/* Detailed Service */
.detailed-service {
    padding: 80px 0;
    background: var(--white);
}

.service-detail-grid {
    display: grid;
    gap: 50px;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-detail-image {
    display: flex;
    justify-content: center;
}

.service-detail-image img {
    max-width: 300px;
    width: 100%;
}

.service-detail-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--brand-blue);
}

.service-detail-content > p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-detail-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.cases-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 30px;
}

.cases-list li {
    position: relative;
    padding-left: 25px;
    color: var(--text-dark);
}

.cases-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: bold;
}

.service-cta {
    margin-top: 20px;
}

/* FAQs Section */
.faqs-section {
    padding: 80px 0;
    background: var(--light-grey);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-toggle {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.accordion-toggle h3 {
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--brand-blue);
    transition: transform var(--transition-fast);
}

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

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

.accordion-content p {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

/* Testimonials List */
.testimonials-list-section {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    gap: 30px;
}

.testimonial-block {
    background: var(--light-grey);
    padding: 30px;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.testimonial-block:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.testimonial-block .stars {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-block blockquote {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.7;
}

.testimonial-block cite {
    font-weight: 600;
    color: var(--brand-blue);
    font-style: normal;
}

/* Submit Testimonial */
.submit-testimonial-section {
    padding: 80px 0;
    background: var(--light-grey);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

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

.testimonial-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-form input,
.testimonial-form select,
.testimonial-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--grey-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.testimonial-form input:focus,
.testimonial-form select:focus,
.testimonial-form textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
}

.required {
    color: var(--brand-red);
}

.submit-btn {
    width: 100%;
}

.form-success {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-success h3 {
    color: var(--brand-blue);
    margin-bottom: 10px;
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    gap: 50px;
}

.contact-details h2 {
    margin-bottom: 20px;
}

.contact-details > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 700;
}

.contact-item p,
.contact-item address {
    color: var(--text-light);
}

.contact-item a {
    color: var(--brand-blue);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    display: block;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: var(--light-grey);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--grey-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
}

/* Pre-Consultation FAQs */
.pre-consultation-faqs {
    padding: 80px 0;
    background: var(--white);
}

/* Responsive Styles - Tablet */
@media (min-width: 768px) {
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-grid .intro-card:last-child {
        grid-column: span 2;
    }
    
    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Responsive Styles - Desktop */
@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
    
    .mobile-call-strip {
        display: none;
    }
    
    .desktop-nav {
        display: block;
    }
    
    .desktop-cta {
        display: inline-block;
    }
    
    .header-container {
        padding: 10px 30px;
    }
    
    .logo {
        height: 70px;
    }
    
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .intro-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .intro-grid .intro-card:last-child {
        grid-column: auto;
    }
    
    .practice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .legal-info {
        text-align: right;
    }
    
    .disclaimer {
        margin: 0;
    }
    
    .trust-badges {
        justify-content: flex-start;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .service-detail-grid {
        gap: 80px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta-section,
    .carousel-arrow,
    .carousel-dots {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        padding: 20px;
    }
    
    body {
        font-size: 12pt;
    }
}
