/* ------------------------------------------------
   Dr Edit – placeholder site
   ------------------------------------------------ */

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

:root {
    --bg:        #fdfaf8;
    --card:      #f5ede6;
    --primary:   #5ba9a6;
    --accent:    #e88fa2;
    --text:      #2c2c2c;
    --muted:     #6b7280;
    --border:    #e5d9d0;
    --closed:    #9ca3af;
}

html {
    font-size: 16px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Georgia, 'Times New Roman', serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---- Header ---- */

.site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 1.5rem 2rem;
    text-align: center;
}

.logo-wrap img {
    width: min(260px, 65vw);
    height: auto;
    animation: fadein 0.8s ease 0.2s both;
}

.header-text {
    animation: fadein 0.8s ease 0.4s both;
}

h1 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: normal;
    color: var(--primary);
    letter-spacing: 0.01em;
}

.title {
    margin-top: 0.35rem;
    font-size: 1rem;
    color: var(--muted);
    font-style: italic;
    letter-spacing: 0.02em;
}

/* ---- Main ---- */

main {
    width: 100%;
    max-width: 520px;
    padding: 0 1.25rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    animation: fadein 0.8s ease 0.6s both;
}

section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
}

h2 {
    font-size: 0.75rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* ---- Contact ---- */

.contact {
    text-align: center;
}

.phone {
    display: inline-block;
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    font-weight: normal;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.03em;
    padding: 0.2rem 0;
    border-bottom: 2px solid var(--accent);
    transition: color 0.2s, border-color 0.2s;
}

.phone:hover {
    color: var(--accent);
    border-color: var(--primary);
}

.contact address {
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.9rem;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.contact address a {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.contact address a:hover {
    color: var(--primary);
}

/* ---- Hours ---- */

.hours table {
    width: 100%;
    border-collapse: collapse;
}

.hours th,
.hours td {
    padding: 0.55rem 0;
    vertical-align: middle;
}

.hours th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: normal;
    text-align: left;
    color: var(--text);
    width: 55%;
}

.hours td {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    text-align: right;
    color: var(--primary);
    font-weight: 600;
}

.hours tr + tr th,
.hours tr + tr td {
    border-top: 1px solid var(--border);
}

.hours tr.closed th,
.hours tr.closed td {
    color: var(--closed);
    font-weight: normal;
}

/* ---- Notice ---- */

.notice {
    text-align: center;
    background: transparent;
    border-color: transparent;
    padding: 0;
}

.notice p {
    font-size: 0.875rem;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--muted);
    font-style: italic;
}

/* ---- Footer ---- */

.site-footer {
    margin-top: auto;
    padding: 1.5rem 1.25rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    width: 100%;
    max-width: 520px;
}

.practice-name {
    font-size: 0.75rem;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 0.4rem;
}

.legal {
    font-size: 0.7rem;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--closed);
    letter-spacing: 0.03em;
}

/* ---- Animation ---- */

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

/* ---- Mobile ---- */

@media (max-width: 420px) {
    .site-header {
        padding-top: 2rem;
    }

    section {
        padding: 1.25rem 1.25rem;
    }
}
