/*
Theme Name: Bordados Artesana
Theme URI: https://example.com/
Author: Tema personalizado
Description: Tema WordPress ligero para una artesana de bordado, arreglos de ropa y cursos de bordado tradicional murciano.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: bordados-artesana
*/

:root {
    --cream: #f7f1eb;
    --cream-2: #fcf9f6;
    --burgundy: #6b1f35;
    --burgundy-dark: #471323;
    --rose: #ead5d6;
    --ink: #2e2525;
    --muted: #74696a;
    --line: #e6dbd5;
    --white: #fff;
    --max-width: 1180px;
    --radius: 4px;
    --shadow: 0 16px 45px rgba(61, 31, 34, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cream-2);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--burgundy-dark);
    white-space: nowrap;
}

.site-branding .brand-mark {
    width: 44px;
    height: 44px;
    border: 1px solid var(--burgundy);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.site-branding strong {
    display: block;
    font-size: 21px;
    line-height: 1.1;
}

.site-branding small {
    display: block;
    font: 10px/1.2 Arial, sans-serif;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-top: 4px;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-size: 13px;
    color: #554b4c;
    transition: color .2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--burgundy);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: transparent;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    color: var(--burgundy-dark);
}

.hero {
    min-height: 650px;
    display: grid;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(38,19,18,.82) 0%, rgba(38,19,18,.55) 48%, rgba(38,19,18,.10) 100%),
        radial-gradient(circle at 75% 45%, #b38b72, #4b2c25 55%, #241716);
    color: var(--white);
}

.hero-content {
    max-width: 650px;
    padding: 100px 0;
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero h1 {
    margin: 0;
    font: 500 clamp(48px, 7vw, 78px)/.98 Georgia, "Times New Roman", serif;
    letter-spacing: -.03em;
}

.hero p {
    max-width: 590px;
    font-size: 18px;
    margin: 25px 0 32px;
    color: rgba(255,255,255,.88);
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid var(--burgundy);
    background: var(--burgundy);
    color: white;
    border-radius: 3px;
    font-weight: 700;
    font-size: 13px;
    transition: transform .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,.75);
}

.btn-outline-dark {
    color: var(--burgundy-dark);
    background: transparent;
    border-color: var(--burgundy);
}

.section {
    padding: 90px 0;
}

.section-soft { background: var(--cream); }

.section-heading {
    max-width: 680px;
    margin-bottom: 42px;
}

.section-heading h2 {
    margin: 0 0 14px;
    font: 500 clamp(34px, 5vw, 54px)/1.05 Georgia, "Times New Roman", serif;
    color: var(--burgundy-dark);
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.service-card {
    padding: 42px 28px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.service-card:last-child { border-right: 0; }

.service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    border: 1px solid var(--burgundy);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--burgundy);
    font-size: 20px;
}

.service-card h3 {
    margin: 0 0 10px;
    font: 500 23px/1.2 Georgia, "Times New Roman", serif;
    color: var(--burgundy-dark);
}

.service-card p {
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 14px;
}

.service-card a {
    color: var(--burgundy);
    font-size: 13px;
    font-weight: 700;
}

.about-grid,
.course-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.about-image,
.course-image {
    min-height: 480px;
    background:
        linear-gradient(135deg, #a98268, #4d2829 70%);
    position: relative;
    overflow: hidden;
}

.about-image::after,
.course-image::after {
    content: "Fotografía de la artesana";
    position: absolute;
    left: 25px;
    bottom: 20px;
    color: rgba(255,255,255,.75);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.about-copy,
.course-copy {
    padding: 65px;
    background: var(--cream);
}

.about-copy h2,
.course-copy h2 {
    margin: 0 0 18px;
    font: 500 clamp(34px, 4vw, 48px)/1.05 Georgia, "Times New Roman", serif;
    color: var(--burgundy-dark);
}

.about-copy p,
.course-copy p { color: var(--muted); }

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.work-card {
    background: white;
    border: 1px solid var(--line);
    overflow: hidden;
}

.work-image {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #d9c0a9, #674044);
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.85);
    font-size: 12px;
    text-align: center;
    padding: 20px;
}

.work-content { padding: 18px; }

.work-content h3 {
    margin: 0 0 5px;
    font: 500 21px/1.2 Georgia, "Times New Roman", serif;
    color: var(--burgundy-dark);
}

.work-content span {
    color: var(--burgundy);
    font-size: 12px;
    font-weight: 700;
}

.course-feature {
    background: #f1dfdf;
}

.course-copy { background: transparent; }

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 25px 0;
    color: #5c4a4d;
    font-size: 13px;
}

.trust-strip {
    padding: 30px 0;
    background: white;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    padding: 8px 22px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.trust-item:last-child { border-right: 0; }

.trust-item strong {
    display: block;
    color: var(--burgundy-dark);
    font-family: Georgia, serif;
    font-size: 16px;
}

.trust-item span {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.site-footer {
    background: var(--burgundy-dark);
    color: rgba(255,255,255,.82);
    padding: 55px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.site-footer h3 {
    margin: 0 0 12px;
    color: white;
    font: 500 20px Georgia, serif;
}

.site-footer p,
.site-footer li {
    font-size: 13px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li { margin-bottom: 7px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    font-size: 11px;
}

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: white;
    font-size: 23px;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
}

.page-content {
    padding: 80px 0;
}

.page-content h1,
.entry-title {
    font: 500 clamp(38px, 5vw, 60px)/1.05 Georgia, serif;
    color: var(--burgundy-dark);
}

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .main-navigation {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--line);
        padding: 20px;
    }
    .main-navigation.is-open { display: block; }
    .main-navigation ul { flex-direction: column; align-items: flex-start; gap: 14px; }
    .services, .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card:nth-child(2) { border-right: 0; }
    .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .about-grid, .course-feature { grid-template-columns: 1fr; }
    .about-copy, .course-copy { padding: 45px 30px; }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .container { width: min(calc(100% - 28px), var(--max-width)); }
    .header-inner { min-height: 68px; }
    .site-branding strong { font-size: 18px; }
    .site-branding .brand-mark { width: 38px; height: 38px; }
    .hero { min-height: 610px; }
    .hero-content { padding: 70px 0; }
    .hero h1 { font-size: 48px; }
    .hero p { font-size: 16px; }
    .section { padding: 65px 0; }
    .services, .trust-grid, .work-grid, .footer-grid { grid-template-columns: 1fr; }
    .service-card { border-right: 0; border-bottom: 1px solid var(--line); }
    .service-card:last-child { border-bottom: 0; }
    .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px; }
    .trust-item:last-child { border-bottom: 0; }
    .footer-bottom { flex-direction: column; }
}
