/* Custom Fonts */
@font-face {
    font-family: 'Goudy Bold';
    src: url('goudybol.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Recoleta';
    src: url('Recoleta-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

/* CSS Variables */
:root {
    --navy: #1E3D2F;
    --light-blue: #E4DDD1;
    --gold: #B8895A;
    --white: #FAF8F4;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Recoleta', serif;
    color: var(--navy);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Goudy Bold', serif;
    font-weight: 700;
}

/* Navigation */
.navbar {
    background: var(--white);
    padding: 0.25rem 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-desktop {
    height: 150px;
    width: auto;
    display: block;
}

.logo-mobile {
    height: 60px;
    width: auto;
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--gold);
}

/* ============================================ */
/* NEW PATIENT SPECIAL BANNER */
/* ============================================ */

.new-patient-banner {
    background: linear-gradient(135deg, var(--gold) 0%, #CF9F71 100%);
    padding: 1.5rem 5%;
    position: relative;
    overflow: hidden;
}

.new-patient-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.new-patient-banner .container {
    max-width: 1400px;
    margin: 0 auto;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.banner-text {
    flex: 1;
}

.new-patient-banner .banner-label {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.banner-title {
    color: var(--navy);
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0.5rem 0;
    line-height: 1.2;
}

.banner-subtitle {
    color: var(--navy);
    font-size: 0.9375rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.banner-cta {
    flex-shrink: 0;
}

.btn-banner {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-banner:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================ */
/* END NEW PATIENT BANNER */
/* ============================================ */

/* Buttons */
.btn-primary {
    background: var(--navy);
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--navy);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.25);
    color: var(--navy);
    padding: 0.875rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid var(--navy);
    transition: all 0.3s;
    cursor: pointer;
    display: inline-block;
}

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

/* Hero Section */
/* Hero Section with Video */
.hero {
    position: relative;
    padding: 8rem 5% 6rem;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    background: var(--navy);
}

.hero-background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(30, 61, 47, 0.35),
        rgba(30, 61, 47, 0.55)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Fallback for browsers that don't support video */
.hero-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-blue);
    z-index: -1;
}

.hero-team {
    background: var(--light-blue);
}

.hero-team h1,
.hero-team p {
    color: var(--navy);
    text-shadow: none;
}

/* Section Styling */
section {
    padding: 6rem 5%;
}

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

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--navy);
}

/* Difference Grid */
.difference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.difference-card {
    text-align: center;
    padding: 2rem;
}

.difference-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.difference-card p {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Self-Pay Section */
.self-pay {
    background: var(--navy);
    color: var(--white);
    text-align: center;
}

.self-pay .section-title {
    color: var(--gold);
}

.self-pay p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.self-pay .btn-primary {
    background: var(--gold);
    color: var(--navy);
    margin-top: 2rem;
}

.self-pay .btn-primary:hover {
    background: var(--white);
}

/* Smile Club Section */
.smile-club-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.smile-club-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.smile-club-text ul {
    list-style: none;
    padding-left: 0;
}

.smile-club-text li {
    padding: 0.5rem 0;
    font-size: 1.125rem;
    position: relative;
    padding-left: 2rem;
}

.smile-club-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.25rem;
}

/* Pricing Cards */
.pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-card {
    background: var(--light-blue);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
}

.pricing-card h4 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 1rem 0;
}

.pricing-card .plan-subtext {
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
    color: var(--navy);
}

.pricing-card .btn-primary {
    margin-top: 1.5rem;
}

/* Doctors Section */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
}

.doctor-card {
    text-align: center;
}

.doctor-photo {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    margin: 0 auto 2rem;
    border: 5px solid var(--gold);
    display: block;
}

.doctor-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.doctor-card p {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Individual doctor photo adjustments */
.doctor-marino {
    object-position: center 35%;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--light-blue);
    color: var(--navy);
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--white);
}

.service-card {
    padding: 2rem;
    border: 2px solid var(--light-blue);
    border-radius: 12px;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.service-card p {
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Service Card Learn More Button */
.service-card .btn-service-learn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card .btn-service-learn:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

/* Reviews Section */
.reviews-section {
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: var(--light-blue);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.review-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.review-stars {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-author {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.contact-item p {
    font-size: 1.125rem;
}

.contact-item a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}

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

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
}

footer p {
    margin-bottom: 1rem;
}

footer a {
    color: var(--gold);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background: var(--navy);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Prevent scrolling when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 0.75rem;
    justify-content: space-around;
    align-items: center;
}

.mobile-sticky-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--navy);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    flex: 1;
    margin: 0 0.25rem;
}

.mobile-sticky-btn-primary {
    background: var(--navy);
    color: var(--white);
}

.mobile-sticky-btn:hover {
    background: var(--light-blue);
}

.mobile-sticky-btn-primary:hover {
    background: var(--gold);
    color: var(--navy);
}

.btn-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.btn-text {
    font-size: 0.75rem;
}

/* Team Page Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.team-member-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--gold);
    display: block;
}

.team-role {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0.5rem 0 1rem 0;
}

/* Community Page Enhancements */
.community-intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 1.8;
  text-align: center;
}

.community-intro p + p {
  margin-top: 1.25rem;
}

.community-lead {
  font-size: 1.25rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

.community-partners {
  background: var(--white);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.partner-card {
  background: var(--light-blue);
  border-radius: 12px;
  padding: 2.25rem;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.partner-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  margin-bottom: 1.25rem;
  padding: 0.5rem;
}

.partner-logo img {
  max-height: 100%;
  max-width: 180px;
  object-fit: contain;
}

.partner-kicker {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  background: rgba(255,255,255,0.55);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.partner-card h3 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.partner-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.partner-card a {
  color: var(--navy);
  font-weight: 700;
}

.partner-link {
  margin-top: 1.25rem;
  display: inline-block;
}

.community-cta {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================ */
/* SERVICE PAGES ADDITIONAL STYLES */
/* ============================================ */

/* Service Page Typography */
.service-intro {
    max-width: 900px;
    margin: 0 auto;
}

.service-lead {
    font-size: 1.1875rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Technology Grid */
.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.technology-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.technology-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.technology-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.technology-card p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Service Features Grid */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 2px solid var(--light-blue);
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.feature-item p {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0;
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: var(--light-blue);
    border-radius: 12px;
    transition: all 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--navy);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.process-step p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Why Altamar Grid */
.why-altamar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.why-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.why-item p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Booking Options Grid */
.booking-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.booking-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--light-blue);
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.booking-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.booking-card-featured {
    border-color: var(--gold);
    border-width: 3px;
}

.booking-card-featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Expectation Grid */
.expectation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expectation-card {
    background: var(--light-blue);
    padding: 2rem;
    border-radius: 12px;
}

.expectation-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--light-blue);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.faq-item h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.faq-item p {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0;
}

/* Contact Options Grid */
.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-option-card {
    background: var(--light-blue);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.contact-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Contact Form Container */
.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    border: 2px solid var(--light-blue);
}

.contact-form-container h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--navy);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--light-blue);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

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

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

/* Hours Grid */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.hours-item {
    background: var(--light-blue);
    padding: 1.25rem;
    border-radius: 8px;
    text-align: center;
}

.hours-item strong {
    display: block;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

/* Error Page Links Grid */
.error-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.error-link-card {
    background: var(--light-blue);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--navy);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.error-link-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.error-link-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */

@media (max-width: 968px) {
    /* Show hamburger, hide desktop menu */
    .hamburger {
        display: flex;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding-top: 100px;
        gap: 2rem;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    /* Stack Smile Club content on mobile */
    .smile-club-content {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }
    
    /* Stack contact grid on mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Show mobile sticky bar on mobile/tablet only */
    .mobile-sticky-bar {
        display: flex !important;
    }

    /* Add padding to body so content isn't hidden behind sticky bar */
    body {
        padding-bottom: 80px;
    }

    /* Banner responsive */
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .banner-title {
        font-size: 1.5rem;
    }

    .banner-subtitle {
        font-size: 0.875rem;
    }

    .btn-banner {
        padding: 0.875rem 1.75rem;
        font-size: 0.875rem;
    }

    /* Service pages responsive */
    .technology-grid,
    .service-features,
    .process-timeline,
    .why-altamar-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        padding: 6rem 5% 5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.25rem;
    }
    
    /* Hide video on mobile to save bandwidth */
    .hero-background-video {
        display: none;
    }
    
    .hero-video::before {
        background: linear-gradient(
            135deg,
            var(--navy) 0%,
            var(--light-blue) 100%
        );
        z-index: 0;
    }

    /* Team grid - 1 column on mobile */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Service pages */
    .service-lead {
        font-size: 1.0625rem;
    }

    .technology-grid,
    .service-features,
    .process-timeline,
    .why-altamar-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
    }
}

@media (max-width: 640px) {
    .new-patient-banner {
        padding: 1.25rem 5%;
    }

    .banner-title {
        font-size: 1.375rem;
    }

    .banner-subtitle {
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .btn-banner {
        padding: 0.75rem 1.5rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
}
/* ============================================ */
/* SMILE CLUB PAGE STYLES */
/* ============================================ */

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-column {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.comparison-header {
    padding: 2rem;
    text-align: center;
}

.comparison-list {
    list-style: none;
    padding: 2rem;
}

.comparison-list li {
    padding: 0.875rem;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.smile-club-column .comparison-list li {
    color: var(--navy);
}

.insurance-column .comparison-list li {
    color: #666;
}

/* Smile Club Pricing Plans */
.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.smile-club-plan-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    border: 3px solid var(--light-blue);
    transition: all 0.3s;
    position: relative;
}

.smile-club-plan-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.featured-plan {
    border-color: var(--gold);
    border-width: 4px;
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-blue);
}

.plan-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 1rem 0;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
}

.price-period {
    font-size: 1.5rem;
    color: var(--navy);
    margin-left: 0.5rem;
}

.price-subtext {
    font-size: 1rem;
    color: var(--navy);
    opacity: 0.7;
}

.plan-features h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.plan-features li {
    padding: 0.625rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.plan-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ROI Examples */
.roi-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.roi-example-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid var(--light-blue);
}

.highlighted-card {
    border-color: var(--gold);
    border-width: 3px;
}

.roi-example-card h3 {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.roi-calculation {
    margin-top: 1.5rem;
}

.roi-line {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.roi-line:last-child {
    border-bottom: none;
}

.roi-value {
    font-weight: 700;
    color: var(--navy);
}

.total-line {
    border-top: 2px solid var(--navy);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.savings-line {
    border-bottom: none;
    margin-bottom: 1rem;
}

.roi-savings-badge {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.roi-savings-badge p {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

/* Benefits Detail Grid */
.benefits-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.benefit-detail-card {
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    border: 2px solid rgba(184, 137, 90, 0.3);
}

.benefit-detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-detail-card p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ============================================ */
/* ABOUT PAGE STYLES */
/* ============================================ */

/* About Story Layout */
.about-story {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.story-content {
    /* No additional styles needed */
}

/* Doctors About Grid */
.doctors-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.doctor-about-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: start;
}

.doctor-bio {
    /* No additional styles needed */
}

/* Philosophy Grid */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.philosophy-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--light-blue);
    transition: all 0.3s;
}

.philosophy-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.philosophy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.philosophy-card p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Technology Showcase Grid */
.technology-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tech-card {
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    border: 2px solid rgba(184, 137, 90, 0.3);
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tech-card p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Trust Badges Grid */
.trust-badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.badge-placeholder {
    /* Container for placeholder badges */
}

/* ============================================ */
/* FOOTER WITH SOCIAL MEDIA */
/* ============================================ */

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info {
    flex: 1;
}

.footer-social {
    text-align: right;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(184, 137, 90, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

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

/* ============================================ */
/* RESPONSIVE ADJUSTMENTS FOR NEW COMPONENTS */
/* ============================================ */

@media (max-width: 968px) {
    /* Comparison Grid */
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    /* Smile Club Plans */
    .pricing-plans-grid {
        grid-template-columns: 1fr;
    }

    /* About Story */
    .about-story {
        grid-template-columns: 1fr;
    }

    /* Doctor About Cards */
    .doctor-about-card {
        grid-template-columns: 1fr;
    }

    /* Philosophy Grid */
    .philosophy-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* ROI Examples */
    .roi-examples-grid {
        grid-template-columns: 1fr;
    }

    /* Benefits Detail */
    .benefits-detail-grid {
        grid-template-columns: 1fr;
    }

    /* Technology Showcase */
    .technology-showcase-grid {
        grid-template-columns: 1fr;
    }

    /* Philosophy Grid */
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* TOP BANNER - OPTION 1: NAVY GRADIENT */
/* ============================================ */

.top-banner {
    background: linear-gradient(135deg, var(--navy) 0%, #2A5740 100%);
    color: var(--white);
    padding: 0.10rem 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-banner .banner-label {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
    font-size: 1rem;
    transform: translateY(3px);
}

.banner-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
    max-width: 1200px;
}

.banner-track {
    display: flex;
    gap: 2rem;
    animation: slide 60s linear infinite;
    will-change: transform;
}

.banner-item {
    white-space: nowrap;
    padding: 0 1rem;
    position: relative;
}

.banner-item::after {
    content: "•";
    position: absolute;
    right: -1rem;
    color: var(--gold);
    font-weight: 700;
}

.banner-item:last-child::after {
    display: none;
}

.top-banner:hover .banner-track {
    animation-play-state: paused;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .top-banner {
        padding: 0.5rem 0;
        font-size: 0.8125rem;
    }
    
    .banner-label {
        font-size: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .banner-track {
        gap: 1.5rem;
    }
    
    .banner-item {
        padding: 0 0.75rem;
    }
}

/* ============================================ */
/* NAPLES-DENTIST PAGE HERO FIX */
/* ============================================ */

/* Plain hero (no video) styling */
.hero:not(.hero-video):not(.hero-team) {
    background: linear-gradient(135deg, var(--navy) 0%, #2A5740 100%);
    color: var(--white);
}

.hero:not(.hero-video):not(.hero-team) h1 {
    color: var(--white);
}

.hero:not(.hero-video):not(.hero-team) p {
    color: var(--white);
    opacity: 0.95;
}

/* ============================================ */
/* SEARCH */
/* ============================================ */

/* Nav search icon */
.nav-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    padding: 0.4rem;
    border-radius: 50%;
    transition: color 0.3s, background 0.3s;
    text-decoration: none;
}

.nav-search-btn:hover {
    color: var(--gold);
    background: rgba(184, 137, 90, 0.1);
}

/* Search hero */
.search-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #2A5740 100%);
    padding: 5rem 5% 4rem;
    text-align: center;
}

.search-hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.search-hero p {
    color: var(--white);
    opacity: 0.85;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Search bar */
.search-bar-wrapper {
    max-width: 680px;
    margin: 0 auto 1.5rem;
}

.search-bar-form {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 0.625rem 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    gap: 0.75rem;
}

.search-bar-icon {
    color: var(--gold);
    flex-shrink: 0;
}

.search-bar-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 1.125rem;
    color: var(--navy);
    min-width: 0;
}

.search-bar-input::placeholder {
    color: #a09080;
}

.search-bar-clear {
    background: none;
    border: none;
    cursor: pointer;
    color: #a09080;
    font-size: 1rem;
    padding: 0 0.25rem;
    display: none;
    transition: color 0.2s;
    flex-shrink: 0;
}

.search-bar-clear:hover {
    color: var(--navy);
}

/* Suggestion chips */
.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.suggestion-label {
    color: var(--white);
    opacity: 0.75;
    font-size: 0.9rem;
}

.suggestion-chip {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 0.35rem 0.875rem;
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.suggestion-chip:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

/* Results section */
.search-results-section {
    padding: 4rem 5%;
    min-height: 300px;
}

.search-status {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.search-result-card {
    display: block;
    text-decoration: none;
    background: var(--white);
    border: 2px solid var(--light-blue);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    transition: all 0.3s;
    color: var(--navy);
}

.search-result-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-section {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.result-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.result-description {
    font-size: 1rem;
    line-height: 1.65;
    color: #5a4a3a;
    margin: 0;
}

/* No results */
.search-no-results {
    text-align: center;
    padding: 3rem 0;
}

.search-no-results p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.search-browse-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.search-browse-links a {
    display: inline-block;
    background: var(--light-blue);
    color: var(--navy);
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.search-browse-links a:hover {
    background: var(--gold);
    color: var(--white);
}

/* Prompt */
.search-prompt {
    text-align: center;
    padding: 3rem 0;
    color: #8a7a6a;
    font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 768px) {
    .search-hero h1 {
        font-size: 2.25rem;
    }

    .search-bar-input {
        font-size: 1rem;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }
}

