:root {
	--navy: #272d5d;
	--navy-deep: #1d224c;
	--copper: #c4875f;
	--copper-light: #dfb08f;
	--sand: #ffd089;
	--cream: #fffaf4;
	--ink: #212934;
	--text: #4a4e57;
	--muted: #747880;
	--line: #e9e5e1;
	--white: #fff;
	--shell: 1200px;
	--shadow: 0 18px 50px rgba(31, 36, 72, .1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font: 400 16px/1.8 "Open Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--copper); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .65em; color: var(--navy); font-family: "Zilla Slab", Georgia, serif; font-weight: 500; line-height: 1.18; }
h1 { font-size: clamp(2.65rem, 5vw, 4.8rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.55rem, 2.7vw, 2.15rem); }
p { margin: 0 0 1.35em; }
button, input, textarea { font: inherit; }
.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10000; left: 1rem; top: 1rem; padding: .65rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.eyebrow { margin-bottom: .65rem; color: var(--copper); font: 400 .82rem/1.4 "Alata", sans-serif; letter-spacing: .12em; text-transform: uppercase; }

.site-header { position: relative; z-index: 100; background: var(--white); box-shadow: 0 2px 14px rgba(33,41,52,.08); }
.topbar { min-height: 49px; color: var(--white); background: var(--copper); font-size: .76rem; }
.topbar__inner { display: flex; justify-content: flex-end; align-items: center; gap: .42rem; min-height: 49px; }
.topbar a { color: var(--white); text-decoration: none; }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 103px; gap: 2rem; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: 230px; max-height: 80px; object-fit: contain; object-position: left center; }
.primary-navigation .menu { display: flex; align-items: center; gap: 2.1rem; padding: 0; margin: 0; list-style: none; }
.primary-navigation li { position: relative; }
.primary-navigation a { display: inline-flex; align-items: center; min-height: 103px; color: var(--ink); font-family: "Alata", sans-serif; font-size: .88rem; text-decoration: none; }
.primary-navigation a::before { content: "🐾"; margin-right: .5rem; color: var(--navy); font-size: .8rem; filter: grayscale(1); }
.primary-navigation .current-menu-item > a, .primary-navigation .current_page_item > a, .primary-navigation a:hover { color: var(--copper); }
.primary-navigation .current-menu-item > a::after, .primary-navigation .current_page_item > a::after { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 5px; background: var(--copper); }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 9px; border: 1px solid var(--line); background: var(--white); }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--navy); }

.home-hero { position: relative; display: grid; min-height: min(670px, calc(100vh - 152px)); overflow: hidden; place-items: center; color: var(--white); }
.home-hero__video, .home-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero__video { object-fit: cover; filter: blur(2px); transform: scale(1.015); }
.home-hero__shade { background: linear-gradient(90deg, rgba(20,24,41,.48), rgba(20,24,41,.16)), rgba(0,0,0,.15); }
.home-hero__content { position: relative; z-index: 1; text-align: center; }
.home-hero h1 { margin-bottom: 2.7rem; color: var(--white); font-family: "Open Sans", sans-serif; font-size: clamp(2.4rem, 5.7vw, 4.2rem); font-weight: 700; letter-spacing: -.035em; text-transform: uppercase; text-shadow: 0 2px 16px rgba(0,0,0,.24); }
.home-hero h1 strong { color: #ffd52f; }
.home-hero__scroll { position: absolute; z-index: 1; bottom: 1rem; left: 50%; color: rgba(255,255,255,.76); font-size: .8rem; text-decoration: none; transform: translateX(-50%); white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .72rem 1.55rem; border: 1px solid var(--copper); border-radius: 3px; color: var(--white); background: var(--copper); font-family: "Alata", sans-serif; font-size: .86rem; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { color: var(--white); background: var(--navy); border-color: var(--navy); transform: translateY(-2px); }
.button--outline { min-width: 255px; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); backdrop-filter: blur(3px); }
.button--outline:hover { background: var(--copper); border-color: var(--copper); }

.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-title { position: relative; width: fit-content; margin: 0 auto clamp(2.5rem, 5vw, 4.5rem); color: var(--navy); text-align: center; }
.section-title::after { content: ""; position: absolute; width: 84px; height: 5px; left: 50%; bottom: -.35rem; border-radius: 50%; background: var(--copper); transform: translateX(-50%) rotate(-7deg); opacity: .8; }
.section-title span { font-weight: 400; }
.section--about { background: linear-gradient(180deg, var(--white), var(--cream)); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.prose { max-width: 760px; }
.prose--wide { max-width: none; margin-top: 1.6rem; }
.prose p, .entry-content li { line-height: 1.88; }
.about-visual { position: relative; display: grid; min-height: 410px; border-radius: 46% 54% 42% 58% / 51% 36% 64% 49%; color: var(--navy); background: #ffe0d0; box-shadow: inset 0 0 0 18px rgba(255,255,255,.38); place-items: center; }
.about-visual span:first-child { font-size: 9rem; filter: grayscale(.25); }
.about-visual span:last-child { position: absolute; top: 20%; right: 23%; color: #ff4e66; font-size: 2.5rem; }
.section--reviews { padding-top: 5.5rem; background: var(--white); }
.reviews-embed:empty::before { content: "Las reseñas de Google se mostrarán aquí."; display: block; padding: 3rem; border: 1px dashed var(--line); text-align: center; }
.section--team { position: relative; color: var(--white); background: var(--copper); clip-path: polygon(0 6%,100% 13%,100% 100%,0 100%); }
.section--team .section-title { margin-top: 2rem; color: var(--navy); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.team-card { position: relative; display: grid; min-height: 380px; padding: 3rem; overflow: hidden; border-radius: 4px; background-position: center; background-size: cover; text-align: center; place-content: center; box-shadow: var(--shadow); }
.team-card h3 { margin: .5rem 0 0; color: var(--white); font-size: 3rem; }
.team-card__icon { display: grid; width: 62px; height: 62px; margin: auto; border-radius: 50%; background: var(--copper); place-items: center; }
.team-card__detail { max-height: 0; overflow: hidden; opacity: 0; transition: .25s ease; }
.team-card:hover .team-card__detail, .team-card:focus-within .team-card__detail { max-height: 90px; opacity: 1; }
.section--posts { background: var(--cream); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-heading .section-title { margin: 0; text-align: left; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--white); box-shadow: 0 10px 28px rgba(33,41,52,.06); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { display: grid; height: 100%; font-size: 4rem; place-items: center; }
.post-card__body { padding: 1.55rem 1.6rem 1.75rem; }
.post-card__meta, .article-meta { color: var(--copper); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.post-card__meta a { color: inherit; text-decoration: none; }
.post-card__meta a:hover, .post-card__meta a:focus-visible { text-decoration: underline; text-underline-offset: .22em; }
.post-card__title { margin: .45rem 0 1rem; font-size: 1.65rem; }
.post-card__title a { color: var(--navy); text-decoration: none; }
.post-card__link { font-size: .82rem; font-weight: 700; text-decoration: none; }
.section--dogs { padding-bottom: 0; }
.dogs-strip { display: grid; grid-template-columns: repeat(7, 1fr); overflow: hidden; }
.dogs-strip figure { position: relative; aspect-ratio: 1; margin: 0; overflow: hidden; }
.dogs-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.dogs-strip figcaption { position: absolute; inset: auto 0 0; padding: .45rem; color: var(--white); background: linear-gradient(transparent,rgba(0,0,0,.7)); font-size: .75rem; text-align: center; transform: translateY(100%); transition: transform .25s ease; }
.dogs-strip figure:hover img { transform: scale(1.06); }
.dogs-strip figure:hover figcaption { transform: none; }

.page-hero { padding: clamp(3.8rem,7vw,6.5rem) 0; background: linear-gradient(135deg,#f5f3f2,#fff8f0); text-align: center; }
.page-hero h1 { max-width: 960px; margin-inline: auto; font-size: clamp(2.6rem,5vw,4.5rem); }
.breadcrumbs { display: flex; justify-content: center; gap: .65rem; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { color: var(--copper); text-decoration: none; }
.content-area { padding-top: clamp(3.5rem,7vw,6rem); padding-bottom: clamp(4rem,8vw,7rem); }
.entry-content { max-width: 940px; }
.entry-content h2, .entry-content h3 { margin-top: 1.65em; }
.entry-content a { overflow-wrap: anywhere; }
.entry-content blockquote { margin: 2.5rem 0; padding: 1.2rem 2rem; border-left: 5px solid var(--copper); color: var(--navy); background: var(--cream); font-family: "Zilla Slab", serif; font-size: 1.35rem; }
.article-hero { padding: clamp(3.8rem,7vw,6.5rem) 0; background: var(--cream); }
.article-hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem,6vw,5rem); }
.article-hero .breadcrumbs { justify-content: flex-start; }
.article-hero__image { aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; box-shadow: var(--shadow); }
.article-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.article-content { max-width: 880px; padding-top: 4rem; padding-bottom: 5rem; }
.post-navigation-wrap { padding-bottom: 5rem; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.post-navigation a { display: block; padding: 1.5rem; border: 1px solid var(--line); text-decoration: none; }
.comments-area { max-width: 880px; padding-bottom: 5rem; }
.comment-list { padding: 0; list-style: none; }
.comment-list .comment-body { margin-bottom: 1rem; padding: 1.25rem; border: 1px solid var(--line); }
.comment-list .avatar { float: left; margin-right: .8rem; border-radius: 50%; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; padding: .75rem .9rem; border: 1px solid #d8d6d3; border-radius: 4px; }
.search-form { display: flex; gap: .7rem; }
.search-form label { flex: 1; }
.search-form input { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid var(--line); }

.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2.5rem,7vw,6rem); align-items: start; }
.contact-intro { position: sticky; top: 2rem; }
.contact-intro img { margin: 2rem 0; border-radius: 4px; }
.contact-direct { display: grid; gap: .35rem; padding-top: 1rem; font-weight: 700; }
.contact-form { padding: clamp(1.5rem,4vw,3rem); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; }
.form-grid label { display: grid; gap: .4rem; color: var(--ink); font-size: .85rem; font-weight: 600; }
.form-grid label > span { color: var(--copper); }
.form-grid input, .form-grid textarea { width: 100%; padding: .75rem .9rem; border: 1px solid #d8d6d3; border-radius: 4px; color: var(--ink); background: var(--white); }
.form-grid input:focus, .form-grid textarea:focus { outline: 2px solid rgba(196,135,95,.24); border-color: var(--copper); }
.form-grid__wide { grid-column: 1/-1; }
.form-grid .checkbox { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; font-weight: 400; }
.form-grid .checkbox input { width: auto; margin-top: .45rem; }
.form-grid .checkbox span { color: var(--text); }
.contact-form .button { margin-top: 1.5rem; min-width: 160px; }
.contact-form__trap { position: absolute; left: -9999px; }
.notice { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-left: 4px solid var(--copper); background: var(--cream); }
.notice--success { border-color: #3b8d66; background: #eff9f3; }
.notice--error { border-color: #b54444; background: #fff2f2; }

.dogy-content-row, .dogy-content-row-inner { display: flex; flex-wrap: wrap; gap: clamp(1.2rem,3vw,2.5rem); }
.dogy-content-column, .dogy-content-column-inner { flex: 1 1 260px; min-width: 0; }
.dogy-width-full { flex-basis: 100%; }
.dogy-width-half { flex-basis: calc(50% - 1.25rem); }
.dogy-width-third { flex-basis: calc(33.333% - 1.7rem); }
.dogy-width-quarter { flex-basis: calc(25% - 1.875rem); }
.dogy-width-fifth { flex-basis: calc(20% - 2rem); }
.dogy-width-two-thirds { flex-basis: calc(66.666% - .85rem); }
.dogy-width-three-quarters { flex-basis: calc(75% - .625rem); }
.dogy-content-title { margin-top: 1.5em; }
.dogy-content-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: .8rem; margin: 2rem 0; }
.dogy-content-image { margin: 0; }
.dogy-content-image img { width: 100%; border-radius: 3px; }
.dogy-progress { margin: 1rem 0; }
.dogy-progress__label { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 600; }
.dogy-progress__track { height: 8px; overflow: hidden; border-radius: 10px; background: #ecebea; }
.dogy-progress__track span { display: block; height: 100%; }
.dogy-faq { margin: .8rem 0; border: 1px solid var(--line); }
.dogy-faq summary { padding: .8rem 1rem; color: var(--navy); font-weight: 700; cursor: pointer; }
.dogy-faq > div { padding: 0 1rem 1rem; }
.dogy-separator { margin: 2rem 0; border: 0; border-top: 1px solid var(--line); }
.dogy-section-spacer { height: 3rem; }
.dogy-illustration { display: grid; min-height: 280px; border-radius: 50%; background: #ffe0d0; font-size: 8rem; place-items: center; }
.dogy-profile-card { min-height: 280px; padding: 2rem; color: var(--white); background-position: center; background-size: cover; text-align: center; }
.dogy-profile-card h3 { color: var(--white); }
.dogy-content-icon { display: inline-block; margin-right: .3rem; }
.text-button { padding: 0; border: 0; color: var(--navy); background: transparent; text-decoration: underline; cursor: pointer; }

.site-footer { padding: 1.6rem 0; color: rgba(255,255,255,.72); background: var(--navy); font-size: .8rem; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--white); }
.to-top { position: fixed; z-index: 50; right: 1.5rem; bottom: 1.5rem; display: grid; width: 44px; height: 44px; border-radius: 5px; color: var(--white); background: rgba(39,45,93,.88); text-decoration: none; place-items: center; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s ease; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.not-found { min-height: 70vh; padding: 7rem 0; text-align: center; }
.not-found__mark { color: #f0dfd4; font: 600 clamp(6rem,20vw,15rem)/.8 "Zilla Slab",serif; }
.pagination, .nav-links { margin-top: 3rem; }
.page-numbers { display: inline-grid; min-width: 36px; height: 36px; margin-right: .35rem; border: 1px solid var(--line); text-decoration: none; place-items: center; }
.page-numbers.current { color: var(--white); background: var(--copper); border-color: var(--copper); }

@media (max-width: 900px) {
	.shell { width: min(calc(100% - 40px), var(--shell)); }
	.topbar__inner { justify-content: center; }
	.menu-toggle { display: block; }
	.primary-navigation { position: absolute; top: 100%; left: 0; right: 0; max-height: 0; overflow: hidden; background: var(--white); box-shadow: var(--shadow); transition: max-height .25s ease; }
	.primary-navigation.is-open { max-height: 420px; }
	.primary-navigation .menu { display: block; padding: .7rem 20px 1.2rem; }
	.primary-navigation a { width: 100%; min-height: 48px; }
	.primary-navigation .current-menu-item > a::after, .primary-navigation .current_page_item > a::after { display: none; }
	.about-grid, .article-hero__inner, .contact-layout { grid-template-columns: 1fr; }
	.about-visual { min-height: 310px; }
	.contact-intro { position: static; }
	.post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.dogs-strip { grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 620px) {
	body { font-size: 15px; }
	.shell { width: min(calc(100% - 28px), var(--shell)); }
	.topbar { display: none; }
	.masthead { min-height: 82px; }
	.brand img { width: 178px; height: auto; }
	.home-hero { min-height: calc(100svh - 82px); }
	.home-hero__scroll { display: none; }
	.home-hero h1 span, .home-hero h1 strong { display: block; }
	.section { padding: 4rem 0; }
	.section--team { clip-path: polygon(0 2%,100% 6%,100% 100%,0 100%); }
	.team-grid, .post-grid, .form-grid, .post-navigation .nav-links { grid-template-columns: 1fr; }
	.section-heading { align-items: flex-start; flex-direction: column; }
	.form-grid__wide { grid-column: auto; }
	.dogs-strip { grid-template-columns: repeat(2,1fr); }
	.site-footer__inner { align-items: flex-start; flex-direction: column; gap: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.home-hero__video { display: none; }
}
