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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    height: 320px;
    background: #003059;
    background-image: url("/img/Dr.gustavo_castro.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 60px;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f2f6be3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.hero-title {
    font-size: 40px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 24px;
}

.hero-button {
    display: inline-block;
    padding: 16px 32px;
    background: #fff;
    color: #003059;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    margin-top: 16px;
}

.hero-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-button:active {
    transform: translateY(0);
}

/* Hero Banner Responsive */
@media (max-width: 768px) {
    
    .hero-banner {
            height: auto;
            min-height: 220px;
        padding: 40px 24px;
    
    }
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-button {
        font-size: 16px;
        padding: 14px 24px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: 32px 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-button {
        font-size: 15px;
        padding: 12px 20px;
    }
}

/* Main Content */
.main-content {
    background: #f8f9fa;
    padding: 40px 0;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.content-section {
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #003059;
    margin-bottom: 16px;
}

.subsection-title {
    font-size: 22px;
    font-weight: 600;
    color: #003059;
    margin-top: 24px;
    margin-bottom: 12px;
}

.section-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
}

.section-text:last-child {
    margin-bottom: 0;
}

.colored-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.colored-list li {
    padding: 12px 16px;
    margin-bottom: 8px;
    border-left: 4px solid;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.colored-list li:nth-child(1) {
    border-left-color: #003059;
}

.colored-list li:nth-child(2) {
    border-left-color: #2E52A0;
}

.colored-list li:nth-child(3) {
    border-left-color: #4A7BC8;
}

.colored-list li:nth-child(4) {
    border-left-color: #003059;
}

.colored-list li:nth-child(5) {
    border-left-color: #2E52A0;
}

.colored-list li:nth-child(6) {
    border-left-color: #4A7BC8;
}

/* Benefits Table */
.benefits-table {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 24px 0;
}

.benefit-item {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid #003059;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.benefit-item:nth-child(2) {
    border-left-color: #2E52A0;
}

.benefit-item:nth-child(3) {
    border-left-color: #4A7BC8;
}

.benefit-item:nth-child(4) {
    border-left-color: #003059;
}

.benefit-title {
    font-size: 20px;
    font-weight: 600;
    color: #003059;
    margin: 0 0 12px 0;
}

.benefit-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

@media (min-width: 768px) {
    .benefits-table {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefit-item {
        padding: 20px;
    }
    
    .benefit-title {
        font-size: 18px;
    }
    
    .benefit-description {
        font-size: 15px;
    }
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 24px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Doctor Card */
.doctor-card {
    position: sticky;
    top: 80px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 32px;
    margin-bottom: 40px;
}

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

.doctor-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-name {
    font-size: 24px;
    font-weight: bold;
    color: #003059;
    margin-bottom: 8px;
}

.doctor-specialty {
    font-size: 18px;
    color: #666;
    margin-bottom: 4px;
}

.doctor-location {
    font-size: 16px;
    color: #999;
    margin-bottom: 8px;
}

.doctor-crm {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
    line-height: 1.4;
}

.doctor-address {
    margin-bottom: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: left;
}

.doctor-address p {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.5;
}

.doctor-address p:last-child {
    margin-bottom: 0;
}

.doctor-address strong {
    color: #003059;
}

.doctor-contact {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doctor-phone,
.doctor-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #003059;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px;
    border: 2px solid #003059;
    border-radius: 8px;
    transition: all 0.3s;
}

.doctor-phone:hover,
.doctor-whatsapp:hover {
    background: #003059;
    color: #fff;
}

.doctor-phone svg,
.doctor-whatsapp svg {
    width: 18px;
    height: 18px;
}

.doctor-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.doctor-whatsapp:hover {
    background: #20BA5A;
    border-color: #20BA5A;
}

.contact-button {
    display: block;
    width: 100%;
    padding: 14px;
    background: #003059;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    margin-bottom: 24px;
    transition: background 0.3s;
}

.contact-button:hover {
    background: #2E52A0;
}

.doctor-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003059;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: #003059;
    color: #fff;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Main Content Responsive */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .doctor-card {
        position: static;
        max-width: 519px;
        width: 100%;
        margin: 0 auto;
        order: -1;
    }
    
    .content-wrapper {
        order: 1;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 24px 0;
    }
    
    .main-container {
        padding: 0 16px;
        gap: 24px;
    }
    
    .content-section {
        padding: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-text {
        font-size: 15px;
    }
    
    .colored-list li {
        font-size: 15px;
        padding: 10px 14px;
    }
}

.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-img {
    width: 170px;
}

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

.logo a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

.menu-overlay {
    display: none;
}

.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    padding: 80px 24px 24px;
}

.nav.active {
    right: 0;
}

.nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav a:hover {
    color: #003059;
}

.menu-overlay.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

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

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

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

.contact {
    display: none;
}

.cirugias_types {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.hernia_types_img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.vesicula_types_img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Desktop */
@media (min-width: 768px) {

    .logo-img {
        width: 170px;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .menu-overlay {
        display: none !important;
    }
    
    .nav {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        display: block;
        flex: 1;
    }
    
    .nav ul {
        display: flex;
        flex-direction: row;
        list-style: none;
        gap: 32px;
        justify-content: center;
    }
    
    .nav a {
        text-decoration: none;
        color: #333;
        font-size: 16px;
        font-weight: 500;
        padding: 0;
        transition: color 0.3s;
    }
    
    .nav a:hover {
        color: #003059;
    }
    
    .contact {
        display: flex;
        gap: 24px;
        align-items: center;
    }
    
    .contact a {
        text-decoration: none;
        color: #333;
        font-size: 14px;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .contact a:hover {
        color: #003059;
    }
    
    .contact a svg {
        flex-shrink: 0;
    }
}

/* Doctor Credentials Section */
.doctor-credentials-section {
    background: #f8f9fa;
    padding: 60px 16px;
}

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

.credentials-title {
    font-size: 32px;
    font-weight: bold;
    color: #003059;
    text-align: center;
    margin: 0 0 24px 0;
}

.credentials-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    text-align: center;
    margin: 0 0 48px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.credential-category {
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.category-title {
    font-size: 22px;
    font-weight: 600;
    color: #003059;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #003059;
}

.credentials-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.credentials-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.credentials-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #003059;
    font-weight: bold;
    font-size: 18px;
}

.credentials-list li:last-child {
    margin-bottom: 0;
}

.credentials-list a {
    color: #003059;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.credentials-list a:hover {
    color: #2E52A0;
    text-decoration: underline;
}

.credentials-author {
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 4px solid #003059;
}

.author-note {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.author-note strong {
    color: #003059;
}

@media (min-width: 768px) {
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .credential-category {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .doctor-credentials-section {
        padding: 40px 16px;
    }
    
    .credentials-title {
        font-size: 24px;
    }
    
    .credentials-intro {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .credential-category {
        padding: 24px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .credentials-list li {
        font-size: 15px;
    }
    
    .credentials-author {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .credentials-title {
        font-size: 20px;
    }
    
    .credentials-intro {
        font-size: 15px;
    }
}

/* Location Section */
.location-section {
    background: #fff;
    padding: 60px 16px;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.location-title {
    font-size: 32px;
    font-weight: bold;
    color: #003059;
    text-align: center;
    margin: 0;
}

.map-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

.map-button {
    display: inline-block;
    padding: 16px 32px;
    background: #003059;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.map-button:hover {
    background: #0f2f6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.map-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .location-section {
        padding: 40px 16px;
    }
    
    .location-title {
        font-size: 24px;
    }
    
    .map-wrapper iframe {
        height: 350px;
    }
    
    .map-button {
        width: 100%;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .location-title {
        font-size: 20px;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
}

/* Footer */
.footer {
    background: #003059;
    color: #fff;
    padding: 40px 32px;
}

.logo_footer {
    width: 170px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #fff;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #fff;
}

.footer-contact-item span {
    line-height: 1.5;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #fff;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: opacity 0.3s;
}

.footer-list li a:hover {
    opacity: 0.8;
}

/* Newsletter Section */
.footer-newsletter {
    padding: 40px 32px;
    text-align: center;
}

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

.newsletter-title {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 16px;
}

.newsletter-subtitle {
    font-size: 16px;
    color: #fff;
    margin-bottom: 32px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    background: #2E52A0;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-button {
    padding: 12px 24px;
    background: #fff;
    color: #003059;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.newsletter-button:hover {
    background: #f0f0f0;
}

/* Divider Line */
.footer-divider-line {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 40px 0;
}

/* Footer Bottom */
.footer-bottom {
    padding: 0 32px 40px;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #2E52A0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 0.8;
}

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

.footer-copyright-info {
    text-align: right;
}

.footer-copyright-info p {
    font-size: 14px;
    color: #fff;
    margin: 4px 0;
    line-height: 1.5;
}

/* Footer Responsive */
@media (min-width: 640px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .newsletter-button {
        width: 100%;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-copyright-info {
        text-align: center;
    }
}

/* Eligibility Table */
.table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.eligibility-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 16px;
}

.eligibility-table thead {
    background: #003059;
    color: #fff;
}

.eligibility-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.eligibility-table td {
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

.eligibility-table tbody tr:hover {
    background: #f8f9fa;
}

.eligibility-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .eligibility-table {
        font-size: 14px;
    }
    
    .eligibility-table th,
    .eligibility-table td {
        padding: 12px 8px;
    }
}

