/*
Theme Name: T. Rodriguez Dental
Theme URI: https://example.com/
Author: Custom WordPress Theme
Description: Elegant, editorial dental/medical WordPress theme inspired by the supplied reference layout. Responsive, lightweight, and editable through the WordPress Customizer.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: rodriguez-dental
*/


@import url('https://fonts.googleapis.com/css2?family=Corben:wght@400;700&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Corben', serif !important;
    font-weight: 700;
}

body,
p,
li,
input,
textarea,
button {
    font-family: Arial, sans-serif;
}
:root {
  --cream: #fbf7f0;
  --peach: #f8d8cb;
  --brown: #554337;
  --brown-dark: #47372d;
  --line: #d7c9bd;
  --text: #4f4036;
  --white: #fffaf5;
  --max: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
	  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251,247,240,.96);
  border-bottom: 1px solid rgba(84,67,55,.14);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: var(--max);
  margin: auto;
  min-height: 74px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.site-brand {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-navigation a {
  font-size: 12px;
  letter-spacing: .02em;
}
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--brown);
  color: #fff;
  padding: 12px 25px;
  font-size: 11px;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}
.header-cta:hover, .button:hover { transform: translateY(-2px); opacity: .9; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 570px;
}
.hero-copy {
  background: var(--peach);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 65px 70px;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(56px, 6vw, 82px);
  line-height: .92;
  margin: 0 0 28px;
  color: var(--brown);
}
.hero p {
  max-width: 390px;
  margin: 0 0 30px;
  font-size: 12px;
}
.hero-image, .image-placeholder {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,250,245,.45), rgba(255,250,245,.05)),
    radial-gradient(circle at 70% 28%, #ead8c9 0 12%, transparent 13%),
    linear-gradient(120deg, #eee1d5, #f8eee7);
}
.hero-image:after,
.image-placeholder:after {
  content: "DENTAL STUDIO";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 58px);
  color: rgba(84,67,55,.13);
  white-space: nowrap;
}

.intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 100px 28px 110px;
}
.intro .eyebrow { margin-bottom: 12px; }
.intro h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.03;
  margin: 0;
}

.services {
  background: var(--brown);
  color: #fff9f2;
}
.services-inner {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 620px;
}
.services-title {
  padding: 70px 45px 60px 28px;
}
.services-title h2,
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  line-height: .95;
  margin: 0;
	padding:30px 0px;
	text-align:center;
}
.services-list {
  padding: 150px 55px 70px;
  border-left: 1px solid rgba(255,255,255,.18);
}
.service {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 0 0 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.service:last-child { border-bottom: 0; }
.service h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  margin: 0;
}
.service p { margin: 0; font-size: 11px; max-width: 520px;     margin: 0;
    font-size: 14px;
    max-width: 548px;
    padding-left: 23px;
    padding-top: 14px; }

.testimonials {
  background: var(--cream);
}
.testimonials-inner { max-width: var(--max); margin: auto; }
.testimonials h2 { margin: 0 0 65px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: 42% 58%;
}
.testimonial-copy {
  background: var(--cream);
  min-height: 360px;
  padding: 100px 55px;
  border: 1px solid var(--line);
}
.quote {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.12;
  max-width: 420px;
}
.author {
  margin-top: 35px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.testimonial-art {
  background: var(--peach);
  min-height: 360px;
}

.contact {
  background: var(--peach);
  padding: 75px 28px 100px;
}
.contact-inner {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.contact-image { min-height: 520px; }
.contact-form {
  background: var(--cream);
  padding: 55px 48px;
}
.contact-form h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  margin: 0 0 35px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 15px;
	font-weight:bold;
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #bfaea1;
  background: transparent;
  padding: 9px 0;
  outline: none;
  color: var(--text);
}
.field textarea { min-height: 75px; resize: vertical; }
.form-message {
  margin-bottom: 20px;
  padding: 10px 12px;
  background: rgba(84,67,55,.08);
  font-size: 11px;
}

.marquee {
  overflow: hidden;
  background: var(--peach);
  white-space: nowrap;
  border-top: 1px solid rgba(84,67,55,.1);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  padding: 25px 0;
  animation: marquee 24s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
}
.marquee .star { font-size: 32px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-footer {
  background: var(--brown);
  color: #fff9f2;
  padding: 50px 28px 28px;
}
.footer-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 30px;
}
.footer-col { font-size: 10px; }
.footer-col p { margin: 0 0 12px; font-size:12px;}
.footer-bottom {
  max-width: var(--max);
  margin: 65px auto 0;
  font-size: 8px;
  opacity: .75;
}

.mobile-toggle { display: none; border: 0; background: transparent; font-size: 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

@media (max-width: 800px) {
  .header-inner { min-height: 66px; padding: 0 18px; }
  .mobile-toggle { display: block; }
  .main-navigation {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 66px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 20px;
  }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; gap: 18px; align-items: flex-start; }
  .header-cta { display: none; }
  .hero { padding: 0 15px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { min-height: 520px; padding: 55px 28px; }
  .hero-image { min-height: 360px; }
  .intro {text-align:justify; padding: 75px 24px; text-align:justify }
  .services-inner { grid-template-columns: 1fr; }
  .services-title { padding: 55px 24px 30px; }
  .services-list { padding: 35px 24px 60px; border-left: 0; }
  .service { grid-template-columns: 100px 1fr; gap: 15px; }
  .testimonials { padding: 65px 15px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-art { min-height: 260px; order: -1; }
  .testimonial-copy { min-height: 330px; padding: 65px 28px; }
  .contact { padding: 45px 15px 70px; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-image { min-height: 300px; }
  .contact-form { padding: 40px 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}



.text-carousel {
    position: relative;
    overflow: hidden;
}

.text-slide {
    display: none;
    text-align: center;
}

.text-slide.active {
    display: block;
}
.hero_image {    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
	text-align:center;
}

```css
/* =========================================================
   PREMIUM CONTACT FORM
========================================================= */

.contact-form {
    background: var(--cream);
    padding: 60px 55px;
    position: relative;
}

/* Form heading */

.contact-form h2 {
    font-family: "Corben", Georgia, serif !important;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--brown);
    margin: 0 0 12px;
}

/* Optional intro text */

.contact-form > p {
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-light, #75675d);
    max-width: 420px;
    margin: 0 0 38px;
}


/* =========================================================
   FORM ROW
========================================================= */

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


/* =========================================================
   FIELD
========================================================= */

.field {
    position: relative;
    margin-bottom: 24px;
}


/* =========================================================
   LABEL
========================================================= */

.field label {
    display: block;

    margin: 0 0 8px;

    font-family: "Montserrat", Arial, sans-serif;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.8;

    letter-spacing: .12em;
    text-transform: uppercase;

    color: var(--brown-light, #735f51);
}


/* =========================================================
   INPUT / TEXTAREA / SELECT
========================================================= */

.field input,
.field textarea,
.field select {
    display: block;

    width: 100%;

    min-height: 48px;

    padding: 12px 15px;

    border: 1px solid #d8ccc2;
    border-radius: 10px;

    outline: none;

    background: rgba(255,255,255,.45);

    color: var(--text);

    font-family: "Montserrat", Arial, sans-serif;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.5;

    box-shadow: none;

    transition:
        border-color .25s ease,
        background-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.field input::placeholder,
.field textarea::placeholder {
    color: #a99b91;
    opacity: 1;
}


/* =========================================================
   FOCUS
========================================================= */

.field input:focus,
.field textarea:focus,
.field select:focus {

    border-color: var(--brown);

    background: #fffdf9;

    box-shadow:
        0 0 0 3px rgba(84,67,55,.07);

    transform: translateY(-1px);
}


/* =========================================================
   TEXTAREA
========================================================= */

.field textarea {
    min-height: 120px;

    resize: vertical;

    padding-top: 14px;
}


/* =========================================================
   SELECT
========================================================= */

.field select {
    appearance: none;
    -webkit-appearance: none;

    padding-right: 42px;

    cursor: pointer;

    background-image:
        linear-gradient(45deg, transparent 50%, #735f51 50%),
        linear-gradient(135deg, #735f51 50%, transparent 50%);

    background-position:
        calc(100% - 17px) 21px,
        calc(100% - 12px) 21px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;
}


/* =========================================================
   TWO COLUMN FIELDS
========================================================= */

.form-row .field {
    margin-bottom: 22px;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-form button,
.contact-form input[type="submit"],
.contact-form .button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 170px;

    min-height: 50px;

    margin-top: 8px;

    padding: 14px 28px;

    border: 1px solid var(--brown);

    border-radius: 999px;

    background: var(--brown);

    color: #fffaf5;

    font-family: "Montserrat", Arial, sans-serif;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: .12em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}


.contact-form button:hover,
.contact-form input[type="submit"]:hover,
.contact-form .button:hover {

    background: var(--brown-dark);

    border-color: var(--brown-dark);

