/* The Dermatology Vet — styled to the VHI group template shared by
   theeye.vet, thecancer.vet and theexotics.vet (WordPress, Astra + Elementor).
   Sizes and colours below were measured from those sites at 1400px wide. */

:root{
  --ink:#000;            /* headings and body copy are black on the sister sites */
  --muted:#5b6474;
  --card:#f5f5f5;        /* card and box grey */
  --band:#f3f3f3;        /* section band grey */
  --line:#dcdcdc;
  --indigo:#060097;      /* The Eye Vet accent: home icon, text links */
  --yellow:#f2c941;      /* active menu item, bullets, figures on dark */
  --slate:#3d4757;       /* service icons */
  --tdv-black:#141414;   /* footer: the reversed logo sits on this and nothing else */
  --bar:#010107;         /* footer bottom bar */
  --wrap:1140px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Nunito,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:16px;line-height:1.85;color:var(--ink);background:#fff;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--indigo);text-decoration:none}
a:hover{text-decoration:underline}
svg{flex:none}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.narrow{max-width:820px;margin:0 auto}
.center{text-align:center}

/* ---------- Header ---------- */
.site-header{background:#fff;position:relative;z-index:60}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:111px;padding:0 35px}
/* Logo: supplied artwork only (assets/logo, November 2026 shield mark). Black on white, white on #141414.
   63px tall in the header, the same height as The Eye Vet logo. */
.logo{display:block;flex:none;line-height:0}
.logo img{display:block;height:63px;width:auto}

.nav{display:flex;align-items:center}
.nav > a{font-size:16px;font-weight:600;text-transform:uppercase;color:#000;padding:0 15px;line-height:111px;white-space:nowrap}
.nav > a:hover,.nav > a.active{color:var(--yellow);text-decoration:none}
.nav .nav-home svg{width:21px;height:21px;fill:var(--indigo);vertical-align:-4px}

.nav-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer}
.nav-toggle span{display:block;width:24px;height:2px;background:#000;margin:5px 0}

/* ---------- Home hero: full-width media band, as on the sister sites ---------- */
.hero{position:relative;height:600px;display:grid;place-items:center;text-align:center;overflow:hidden;background:var(--tdv-black)}
.hero-media{position:absolute;inset:0;
  background:
    radial-gradient(ellipse 55% 70% at 20% 30%,rgba(255,255,255,.11),transparent 62%),
    radial-gradient(ellipse 50% 65% at 82% 70%,rgba(6,0,151,.32),transparent 66%),
    linear-gradient(180deg,#202026 0%,#0f0f12 100%)}
.hero-media video,.hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero::after{content:'';position:absolute;inset:0;background:rgba(0,0,0,.25)}
.hero h1{
  position:relative;z-index:2;margin:0;padding:0 40px;max-width:1180px;
  font-family:Montserrat,Nunito,sans-serif;font-weight:800;text-transform:uppercase;
  font-size:clamp(30px,4.7vw,66px);line-height:1.12;letter-spacing:.01em;
  color:rgba(255,255,255,.93);text-shadow:0 2px 22px rgba(0,0,0,.35);
}

/* ---------- Intro band (The Cancer Vet pattern) ---------- */
.intro{background:linear-gradient(180deg,var(--band) 0%,#fff 100%);padding:60px 0}
.intro-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:50px;align-items:center}
.intro-media{background:#fff;border-radius:8px;aspect-ratio:16/10;display:grid;place-items:center;overflow:hidden}
.intro-media img{width:56%}
.intro-media img.photo{width:100%;height:100%;object-fit:cover}
.intro-text p{margin:0 0 18px}
.intro-place{display:flex;gap:10px;align-items:flex-start;font-size:15px;font-weight:600}
.intro-place svg{width:16px;height:16px;fill:#000;margin-top:5px}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:9px;background:#000;color:#fff;border:0;border-radius:3px;
  padding:10px 20px;font-size:15px;font-weight:700;font-family:inherit;line-height:1.5;
  text-decoration:none;cursor:pointer;transition:background .15s ease;
}
.btn svg{width:13px;height:13px;fill:currentColor}
.btn:hover{background:#2b2b2b;color:#fff;text-decoration:none}
.btn[disabled]{opacity:.55;cursor:wait}
.btn-light{background:#fff;color:#000}
.btn-light:hover{background:var(--yellow);color:#000}
.actions{display:flex;gap:12px;flex-wrap:wrap}
.page-head .actions{justify-content:center;margin-top:26px}

/* ---------- Sections ---------- */
.section{padding:70px 0}
.section.band{background:var(--band)}
.section.dark{background:#000;color:#fff}
.section-head{text-align:center;max-width:1100px;margin:0 auto 40px}
.section-head h2{font-size:clamp(30px,3.6vw,48px);font-weight:700;color:#000;margin:0 0 16px;line-height:1.2}
.section-head p{margin:0 auto;max-width:980px}
.section.dark .section-head h2{color:#fff;font-weight:800;font-size:clamp(28px,3vw,40px)}
.section.dark p{color:#fff}

/* Inner pages open straight onto a centred heading, no title band */
.page-head{padding:64px 0 30px;text-align:center}
.page-head h1{font-size:clamp(32px,3.6vw,48px);font-weight:700;color:#000;margin:0 0 14px;line-height:1.2}
.page-head p{max-width:900px;margin:0 auto}
.page-head + .section{padding-top:20px}
.page-head + .section.band{padding-top:56px}

/* ---------- Cards ---------- */
.grid{display:grid;gap:20px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}

.card{background:var(--card);border-radius:8px;padding:28px 25px;text-align:center;display:flex;flex-direction:column;align-items:center}
.card-icon{width:72px;height:72px;border-radius:50%;border:3px solid var(--slate);color:var(--slate);display:grid;place-items:center;margin:4px 0 18px}
.card-icon svg{width:34px;height:34px}
.card h3{font-size:22px;font-weight:700;color:#000;margin:0 0 10px;line-height:1.3}
.card p{font-size:15px;line-height:1.8;margin:0 0 22px;flex:1}

/* Services page: wide cards, icon left (theeye.vet/services) */
.card-row{background:var(--card);border-radius:8px;padding:30px;display:grid;grid-template-columns:72px minmax(0,1fr);gap:26px;align-items:start}
.card-row .card-icon{margin:0}
.card-row h3{font-size:22px;font-weight:700;color:#000;margin:0 0 6px;line-height:1.3}
.card-row p{font-size:15px;line-height:1.8;margin:0 0 16px}
.card-foot{text-align:right}

/* ---------- Founder ---------- */
.founder{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:50px;align-items:center}
.founder-box{background:var(--card);border-radius:8px;padding:30px}
.founder-top{align-items:start}
.founder-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:top;border-radius:8px}
.founder-label{font-weight:700;margin:0 0 2px}
.founder-name{font-size:clamp(26px,2.6vw,32px);font-weight:700;color:#000;margin:0 0 4px;line-height:1.25}
.founder-quals{margin:0 0 18px}
.founder-text p{margin:0 0 16px}
.founder-foot{text-align:right;margin-top:8px}
.creds{list-style:none;margin:26px 0 0;padding:0;border-top:1px solid var(--line)}
.creds li{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px}
.creds strong{color:#000}

/* ---------- Dark band (The Exotics Vet services pattern) ---------- */
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.stat{background:#0d0d0d;border:1px solid #2a2a2a;border-radius:6px;padding:26px 18px;text-align:center}
.stat .n{font-size:clamp(30px,3vw,42px);font-weight:800;color:var(--yellow);line-height:1.1}
.stat .l{font-size:15px;line-height:1.6;color:#fff;margin-top:10px}

/* ---------- For Appointment Contact box ---------- */
.appt{background:var(--card);border-radius:10px;padding:44px 56px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center}
.appt-intro{margin:0 0 4px}
.appt h2{font-size:clamp(26px,2.6vw,35px);font-weight:800;color:#000;margin:0 0 12px;line-height:1.25}
.icon-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 0}
.icon-list li{display:flex;align-items:center;gap:10px;padding:0 20px;border-left:1px solid #c9c9c9}
.icon-list li:first-child{padding-left:0;border-left:0}
.icon-list svg{width:16px;height:16px;fill:#000}
.icon-list a{color:#000}

/* ---------- Visit: map + clinic card ---------- */
.visit{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:20px;align-items:stretch}
.map{border-radius:8px;overflow:hidden;min-height:400px;background:#e9e9e9}
.map iframe{display:block;width:100%;height:100%;min-height:400px;border:0}
.visit-card{background:var(--card);border-radius:8px;padding:34px}
.visit-card h3{margin:0 0 2px;font-size:24px;font-weight:600;color:#000}
.visit-note{font-weight:700;margin:0 0 12px}
.visit-card address{font-style:normal;margin:0 0 14px}
.icon-rows{list-style:none;margin:0 0 22px;padding:0}
.icon-rows li{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.icon-rows svg{width:16px;height:16px;fill:#000}
.icon-rows a{color:#000}

/* ---------- TDV Connect ---------- */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.steps li{background:var(--card);border-radius:8px;padding:30px 26px;text-align:center}
.step-n{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#000;color:#fff;font-weight:800;font-size:18px;margin:0 auto 14px}
.steps h3{margin:0 0 8px;font-size:22px;font-weight:700;color:#000}
.steps p{margin:0;font-size:15px;line-height:1.8}
.route{background:#fff;border-radius:8px;padding:30px}
.route-tag{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:15px;margin-bottom:6px}
.route-tag::before{content:'';width:10px;height:10px;border-radius:50%;border:3px solid var(--yellow)}
.route h3{margin:0 0 8px;font-size:24px;font-weight:700;color:#000}
.route p{margin:0}
.promises{list-style:none;margin:36px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;text-align:center}
.promises li{background:#fff;border-radius:8px;padding:22px}
.promises strong{display:block;color:#000;font-size:17px}
.promises span{display:block;font-size:15px}

/* ---------- Prose ---------- */
.prose{max-width:900px;margin:0 auto}
.prose h2{font-size:30px;font-weight:700;color:#000;margin:40px 0 12px;line-height:1.25}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:22px;font-weight:700;color:#000;margin:28px 0 10px}
.prose p{margin:0 0 18px}
.prose ul{list-style:none;margin:0 0 20px;padding:0}
.prose ul li{position:relative;padding-left:26px;margin-bottom:9px}
.prose ul li::before{content:'';position:absolute;left:0;top:.62em;width:10px;height:10px;border-radius:50%;border:3px solid var(--yellow)}
.prose ol{margin:0 0 20px;padding-left:22px}
.prose ol li{margin-bottom:9px}
.policy h2{font-size:22px;margin:30px 0 8px}
.prose .lead{font-size:19px;line-height:1.75}
.callout{background:var(--card);border-radius:8px;padding:22px 26px;margin:26px 0}
.section.band .callout{background:#fff}
.callout p:last-child{margin-bottom:0}
.callout strong{color:#000}

/* ---------- Forms (underlined fields, as on theeye.vet/contact) ---------- */
.field{margin-bottom:22px}
.field label{display:block;font-size:14px;color:#888;margin-bottom:2px}
.field input,.field select{
  width:100%;padding:10px 0 9px;border:0;border-bottom:1px solid #777771;border-radius:0;
  font-family:inherit;font-size:16px;color:#000;background:transparent;
}
.field select{appearance:auto}
.field input[type=file]{border-bottom:0;padding:8px 0;font-size:15px}
.field textarea{width:100%;min-height:130px;padding:10px;border:1px solid #777771;border-radius:0;font-family:inherit;font-size:16px;color:#000;background:transparent;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:#000;box-shadow:0 1px 0 #000}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.form-note{font-size:13px;color:var(--muted);margin-top:14px}
.field-help{font-size:13px;color:var(--muted);margin:2px 0 0}
.hp{position:absolute !important;left:-10000px;width:1px;height:1px;overflow:hidden}
.form-status{margin:16px 0 0;font-size:15px;font-weight:600}
.form-status:empty{display:none}
.form-status.ok{color:#1d6b35}
.form-status.err{color:#b3261e}
.form-title{font-size:20px;font-weight:700;color:#000;margin:0 0 4px}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:60px;align-items:start}
.info-block{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid #c9c9c9}
.info-block:last-child{border-bottom:0}
.info-block h3{font-size:20px;font-weight:600;color:#000;margin:0 0 4px}
.info-block p{margin:0 0 8px}

/* ---------- FAQ ---------- */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{padding:18px 0;font-weight:700;font-size:18px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:18px;color:#000}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';font-size:24px;font-weight:400;color:#000;flex:none;line-height:1.2}
.faq details[open] summary::after{content:'\2212'}
.faq .answer{padding:0 0 20px}
.faq .answer p:last-child{margin-bottom:0}

/* ---------- Footer (sister-site layout on the TDV brand black) ---------- */
.site-footer{background:var(--tdv-black);color:#fff;font-size:15px;line-height:1.75}
.footer-grid{display:grid;grid-template-columns:1.2fr 1.25fr 1fr 1.05fr;gap:40px;padding:56px 0 40px}
.footer-logo{line-height:0;margin-bottom:16px}
.footer-logo img{display:block;height:56px;width:auto}
.site-footer p{margin:0 0 10px;color:#fff}
.site-footer h3{font-size:24px;font-weight:600;color:#fff;margin:0 0 6px;line-height:1.3}
.site-footer a{color:#fff}
.f-icons{list-style:none;margin:12px 0 0;padding:0}
.f-icons li{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.f-icons svg{width:15px;height:15px;fill:#fff}
.f-connect{margin:4px 0 18px}
.pill{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;background:#fff;color:#000 !important;border-radius:200px;padding:8px 18px;font-family:Poppins,Nunito,sans-serif;font-weight:600;font-size:13px}
.pill svg{width:18px;height:18px;fill:#000}
.pill:hover{text-decoration:none;background:var(--yellow)}
.group-note{border-top:1px solid rgba(255,255,255,.14);padding:20px 0 22px;font-size:14px;line-height:1.7;color:#cfcfcf;text-align:center}
.group-note a{color:#fff;font-weight:700}
.footer-bar{background:var(--bar);color:#fff;text-align:center;padding:14px 20px;font-family:Poppins,Nunito,sans-serif;font-size:13px}
.footer-bar a{color:#fff}

/* ---------- Floating widgets (as on all three sister sites) ---------- */
.tele-tab{
  position:fixed;left:10px;bottom:20px;z-index:80;height:50px;display:flex;align-items:center;gap:10px;
  background:#000;color:#fff;border-radius:200px;padding:10px 20px;
  font-family:Poppins,Nunito,sans-serif;font-weight:600;font-size:16px;text-decoration:none;
  box-shadow:0 0 0 1px rgba(255,255,255,.28),0 2px 10px rgba(0,0,0,.22);
}
.tele-tab:hover{color:#fff;text-decoration:none;background:#1f1f1f}
.tele-tab svg{width:24px;height:24px;fill:#fff}
.to-top{position:fixed;right:18px;bottom:32px;z-index:80;width:28px;height:28px;border-radius:2px;background:#3b66d6;display:grid;place-items:center}
.to-top svg{width:14px;height:14px;fill:#fff}

/* ---------- Responsive ---------- */
@media (max-width:1120px){
  .header-inner{min-height:84px;padding:0 20px;position:relative}
  .logo img{height:50px}
  .nav{display:none}
  .nav.open{
    display:flex;flex-direction:column;align-items:stretch;
    position:absolute;top:100%;left:0;right:0;background:#fff;
    padding:6px 20px 18px;box-shadow:0 10px 24px rgba(0,0,0,.1);
  }
  .nav.open > a{line-height:1.4;padding:12px 0;border-bottom:1px solid var(--line)}
  .nav-toggle{display:block}
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .hero{height:480px}
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid-2{grid-template-columns:1fr}
  .intro-grid,.founder,.visit,.contact-grid{grid-template-columns:1fr;gap:30px}
  .founder-photo{max-width:420px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .steps,.promises{grid-template-columns:1fr}
  .appt{grid-template-columns:1fr;padding:34px 30px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  .header-inner{min-height:72px}
  .logo img{height:42px}
  .hero{height:400px}
  .hero h1{padding:0 20px}
  .section{padding:50px 0}
  .page-head{padding:44px 0 0}
  .grid-3,.grid-4{grid-template-columns:1fr}
  .card-row{grid-template-columns:1fr;gap:14px}
  .form-row{grid-template-columns:1fr;gap:0}
  .creds li{grid-template-columns:1fr;gap:0}
  .icon-list{flex-direction:column}
  .icon-list li{padding:0;border-left:0}
  .visit-card,.founder-box{padding:24px}
  .footer-grid{grid-template-columns:1fr;gap:30px}
  .tele-tab{height:42px;padding:8px 14px;font-size:13px;bottom:16px}
  .tt-long{display:none}
  .intro-media{aspect-ratio:16/8}
  .tele-tab svg{width:20px;height:20px}
  .to-top{right:12px;bottom:22px}
}
